6.094
Introduction to Programming in MATLAB
Lecture 5: Symbolics, Simulink,
File I/O, Building GUIs
Instructor:
Danilo epanovi
IAP 2010
Outline
(1)
(2)
(3)
(4)
Symbolic Math
Simulink
File I/O
Graphical User Interfaces
Symbolic Math Toolbox
Dont do nasty
6.094
Introduction to programming in MATLAB
Lecture 4: Advanced Methods
Danilo epanovi
IAP 2010
Homework 3 Recap
How long did it take?
Common issues:
The ODE file should be separate from the command that
solves it. ie. you should not be calling ode45 f
6.094
Introduction to programming in MATLAB
Lecture 3 : Solving Equations and Curve Fitting
Danilo epanovi
IAP 2008
Homework 2 Recap
How long did it take?
Using min with matrices:
a=[3 7 5;1 9 10; 30 -1 2];
b=min(a); % returns the min of each column
6.094
Introduction to programming in MATLAB
Lecture 2: Visualization and Programming
Danilo epanovi
IAP 2010
Homework 1 Recap
How long did it take to do required problems?
Did anyone do optional problems?
Was level of guidance appropriate?
Unanswered Ques
Jan. 28, 2010
Homework 4
6.094: Introduction to Matlab
Homework 4
This homework is designed to give you practice with more advanced and specific Matlab functionality,
like advanced data structures, images, and animation. As before, the names of helpful f
Jan. 27, 2010
Homework 3
6.094: Introduction to Matlab
Homework 3
This homework is designed to give you practice writing functions to solve problems. The problems in this
homework are very common and you will surely encounter similar ones in your researc
Jan. 26, 2010
Homework 2
6.094: Introduction to Matlab
Homework 2
This homework is designed to give you practice with writing functions and visualizing data. This
assignment will give you more freedom than Homework 1 to choose how you implement your funct
Jan. 25, 2010
Homework 1
6.094: Introduction to Matlab
Homework 1
This homework is designed to teach you to think in terms of matrices and vectors because this is how
Matlab organizes data. You will find that complicated operations can often be done with