Presentation is loading. Please wait.

Presentation is loading. Please wait.

ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03

Similar presentations


Presentation on theme: "ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03"— Presentation transcript:

1 ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03

2 ME 123 Computer Applications I
Reminder Exam 2 will be on tomorrow (2 parts) 1st part: closed book, closed notes, closed computer 2nd part: closed book, closed notes, open computer Lecture 25 ME 123 Computer Applications I

3 ME 123 Computer Applications I
Road Map of Lecture 25 Corrections to final project description Review on course materials Address any question on Exam 2 Lecture 25 ME 123 Computer Applications I

4 ME 123 Computer Applications I
Review for Exam 2 Definition of scalar, vector, matrix; naming convention 2-D plotting (line, marker, labeling, legend, etc.) Input/Output (command line, data file, etc.) User defined function (input/output list), m-file Solution to system of equations (unique solution) if statement, relational operators for loop switch statement while loop Lecture 25 ME 123 Computer Applications I

5 Review for Exam 2 (cont’d)
Solution to over-constrained system of equations (least square solution), includes curve fitting applications Advanced plotting Character strings Integration of if statements, if loops, while loops and function subprograms to solve complex problems Examples: Partial sum calculator Prime number finder Square root approximator Statistics menu Lecture 25 ME 123 Computer Applications I

6 Review for Exam 2 (cont’d)
Examples (cont’d): Numerical integration: Trapezoidal method Rectangular method Simpson’s rule Root finding: Bisection method Secant method Newton-Raphson method Time marching: Explicit Euler 4th order Runge-Kutta Lecture 25 ME 123 Computer Applications I


Download ppt "ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03"

Similar presentations


Ads by Google