Functions Commands Programming Steps Examples Printing Homework Hints.

Slides:



Advertisements
Similar presentations
Word Processing First Steps
Advertisements

Lesson 7 — Word Processing
Chapter 8 and 9 Review: Logical Functions and Control Structures Introduction to MATLAB 7 Engineering 161.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 4 – Introducing Algorithms, Pseudocode and.
Introduction to MATLAB 7 for Engineers
Chapter 2: Input, Processing, and Output
CS101- Lecture 11 CS101 Fall 2004 Course Introduction Professor Douglas Moody –Monday – 12:00-1:40 – – –Web Site: websupport1.citytech.cuny.edu.
EGR 106 – Week 8 Data Files & Functions Interacting with Data Files Functions – Concept – Examples and applications Textbook chapter ,
C++ for Engineers and Scientists Third Edition
Understanding the Mainline Logical Flow Through a Program (continued)
Chapter 3 Planning Your Solution
PRE-PROGRAMMING PHASE
Introduction to MATLAB ENGR 1187 MATLAB 1. Programming In The Real World Programming is a powerful tool for solving problems in every day industry settings.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 21P. 1Winter Quarter MATLAB: Structures.
DCT 1123 Problem Solving & Algorithms
Lecture 1: Introduction Lecture series based on the text: Essential MATLAB for Engineers and Scientists By Hahn & Valentine
Sw development1 Software Development 1.Define the problem (Analysis) 2.Plan the solution 3.Code 4.Test and debug 5.Maintain and Document.
Chapter 7: Arrays. In this chapter, you will learn about: One-dimensional arrays Array initialization Declaring and processing two-dimensional arrays.
Programming.
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
INTRODUCTION TO ALGORITHMS PROGRAMMING. Objectives Give a definition of the term algorithm Describe the various parts of the pseudocode algorithm or algorithm.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
1 © 2000 John Urrutia. All rights reserved. Qbasic Constructing Qbasic Programs.
MICROSOFT WORD 2007 INTERMEDIATE/ADVANCED. CREATE A NEW STYLE BASED ON A SELECTED TEXT HOME tab > STYLES group dialog launcher > at the bottom of the.
Input, Output, and Processing
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Microsoft Word. Basic Word features New Document Open Save As Right Click on File name  Rename  Delete  Send to Recycle Bin  Restore.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 2 Input, Processing, and Output.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 5P. 1Winter Quarter C Programming Basics.
Chapter 1 – Matlab Overview EGR1302. Desktop Command window Current Directory window Command History window Tabs to toggle between Current Directory &
An Overview Samantha TerBeest Willmar Public Library Microsoft Office Word 2007 for Beginners.
Cosc175 - Define Problem/Design Solution/Pseudocode/Trace 1 DEFINE THE PROBLEM.
EGR 115 Introduction to Computing for Engineers Introduction to MATLAB Friday 29 August 2014 EGR 115 Introduction to Computing for Engineers.
Lecture 20: Choosing the Right Tool for the Job. What is MATLAB? MATLAB is one of a number of commercially available, sophisticated mathematical computation.
NAME Python Programming Workbook Select a Lesson:
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Lecture 7: Menus and getting input. switch Multiple-selection Statement switch Useful when a variable or expression is tested for all the values it can.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. A Concise Introduction to MATLAB ® William J. Palm III.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
CHAPTER 3 COMPLETING THE PROBLEM- SOLVING PROCESS AND GETTING STARTED WITH C++ An Introduction to Programming with C++ Fifth Edition.
Computer 1 Minneapolis Public Schools- Transition Plus
DEVRY CIS 170 C I L AB 2 OF 7 D ECISIONS Check this A+ tutorial guideline at decisions For.
Chapter 9 Repetition.
Topics Designing a Program Input, Processing, and Output
Release Numbers MATLAB is updated regularly
Introduction to Programming
1-1 Logic and Syntax A computer program is a solution to a problem.
Completing the Problem-Solving Process
Chapter 2: Input, Processing, and Output
Introduction to Programming
Programming Problem steps must be able to be fully & unambiguously described Problem types; Can be clearly described Cannot be clearly described (e.g.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Lecture 1: Introduction
Chapter 9 Control Structures.
Use of Mathematics using Technology (Maltlab)
Programming Right from the Start with Visual Basic .NET 1/e
Structured Program Design
Functions In Matlab.
Introduction to Programming
How to Submit Google Docs to the Homework Drop Box
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
Topics Designing a Program Input, Processing, and Output
Topics Designing a Program Input, Processing, and Output
Chapter 2: Input, Processing, and Output
Introduction to Programming
Grauer and Barber Series Microsoft Word Overview
Presentation transcript:

Functions Commands Programming Steps Examples Printing Homework Hints

exp(x) x input can be a number, a variable, or an expression sin(x) Expect radians atan2(x,y) Two input function, separate the multiple inputs by a comma [Value, Index] = min(Array) Two output function (needs brackets to left of assignment operator) The input is a new data type – an array Note the use of descriptive variable names

format compacteliminates extra line spaces help atan2information on a function doc atan2pretty information on a function lookfor degreessearches help for keywords up/down arrowsto “get” previous lines of code Cntl-c, Cntl-vcut and paste %comment only (stop executing) …ellipsis – continue on next line ;suppress screen echo

Set-up Goals – what will program do Input & output variable names and datatypes Theory/equations/relationships Algorithm Flowchart or Pseudocode Code Correct syntax Check logic Add documentation

Start – All Programs – Microsoft Office – Word Add Titles, Headers, Labels (save as a template) Cut and paste code from Matlab File – Print (icon doesn’t work) Switch Printer to CP5520 Series

Two parts! Yellow page – hand written Book problems – printed from Word