Sunday, July 05, 2015

Intro to Matlab: From Beginner to Advance

Senin, 29 Juni 2015 saya memulai hand-on-research di Trieste, Italy, dengan menu favorit saya, Matlab. Karena Matlab dipakai hampir di semua materi hand-on-research, maka saya memilih menu ini di awal. Hands-on kali ini diampu oleh Brian Storey, Professor of Mechanical Engineering di Olin Collage, US, yang juga telah menulis banyak ebook gratis untuk Matlab dan CFD. Semua materi yang digunakan ada pada link attachment di halaman paling bawah artikel ini (saya akan mengupdate permissionnya dalam beberapa minggu lagi).

Once to be remembered, learning Matlab is not learning the programming, but the physical phenomenon behind it. So, you must understand clearly from physical phenomena to mathematical model (equation), from equation and logic to (Matlab) programming language. When you didn't understand about math and physics of your program, it will very hard to bring the solution to (Matlab) programming language.

OK, Let's start. Prof. Storey divide the student into two: the beginner who never knows about Matlab, and advance user with someone in between (intermediate). For beginner on Matlab, the following books has been recommended and you can study it by your self,
For Intermediate you can use the following program to improve your skills on Matlab,
  • videoanalysis.pdf : Write a MATLAB program to analyze the video of a ball dropping in order to compute the
    coefficient of restitution. This is a good exercise if you want to learn about basic image analysis.
  • InitialValueProblems.pdf : Learn about solving and analyzing ordinary differential equations in MATLAB. Some
    examples and exercises are provided.
  • DelayEquations.pdf : Learn about solving and analyzing delay differential equations in MATLAB. Note that this
    exercise requires completing (or already knowing) the details of the previous exercise on initial value problems.
    Some examples and suggested exercises are provided.

For advance user, there is no program neither books. Please beat the following challenges,

On the course folder is a slow motion movie of a double pendulum. Watch the movie. Note the colored dots placed on the pivots of the pendulum and the end. Write a MATLAB program to analyze the movie and plot the angle of the two pivots as a function of time. Look at the video analysis problem description in the previous section for a few commands to load a movie and extract frames.

Alternately, you could use your phone to record a video of more interest to you and work on extracting information from that. provides a link to the MATLAB documentation and examples on image analysis.

All material in this page are come from Prof. Storey.

Related Posts Plugin for WordPress, Blogger...