ENGR132_Class4A_Amanda_Knutson

ENGR132_Class4A_Amanda_Knutson - Welcome to ENGR132...

This preview shows pages 1–6. Sign up to view the full content.

Click to edit Master subtitle style ENGR132 Transforming Ideas to Innovation II Section 006 & 021 Prof. Amanda Knutson and GTA Ben Ahn Class 4a Welcome to

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4/24/11 Announcement Exam 1: Monday Feb 14th 8:00 – 9:00 pm Elliot Hall No make up exams will be given (DON’T MISS IT!) Worth 15% of your final grade – no adjustments!! Conflicts/accommodations see Chell Nyquist Up to and INCLUDING class 4B (next 22
4/24/11 Learning Objectives: By the end of topic, you will be able to Define the structure and function of definite and indefinite loops Create a while…end loop flowchart from a problem description Write MATLAB while…end code from a flowchart Interpret flowcharts and MATLAB code with while…end structures 33

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4/24/11 Relational Operators in MATLAB < Less than > Greater than <= Less than or equal to >= Greater than or equal to == Equal to ~= Not Equal to 44
4/24/11 Loops A loop is a structure used for repeating calculations or commands a number of times. Each time the repetition is performed it is considered a pass. A counter (or test variable) is used to keep track of the number of passes.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/23/2011 for the course ENGR 132 taught by Professor Kutson during the Spring '11 term at Purdue University-West Lafayette.

Page1 / 26

ENGR132_Class4A_Amanda_Knutson - Welcome to ENGR132...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online