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
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
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 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
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. 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
2.670 ME Tools
Solving O.D.E.s with Matlab
This is a set of pages you need to step through to finish the last matlab assignment.
Solving ODEs with Matlab
ODEs
Cooling of the Engine
Consider other Cooling Modes
Temperature ODE
Solving ODEs with Matlab
m-fi
Lecture 1: Using Matlab
Using Matlab
Setting Up for Matlab
Basic Calculations
The Matlab Environment
Matlab Functions
Matrix Math
Matrix Math
A Motivating Example
Examine the Lift Linkage
Model a System of Forces
Support Forces
Forces on the Bin
System of