MATLAB Intro

MATLAB has been a challenge, I think I need more time with the language to grasp it. Graphing was the most difficult but overall I liked the format of the program. I found Allen Downey’s book Physical Modeling very helpful in understanding  the basics of MATLAB.


Exercise 2.3: Car Update

At first I was confused about implementing a precondition because it seemed strange to define values for a and b and then have the program allow those values to change. Each languages rules are different though and it did give me the changed values after one week.


Exercise 3.1: Car Loop

A great advantage about this program is how simple it is to break sketches down so they can be easier to read. Rather than write out the information from the last sketch in the loop section of this sketch, I was able to just write the title of the previous sketch. I could imagine this being very useful to break code up with a  more complicated sketch.

 


Exercise 3.2: Car Loop with Plotting

 

Exercise 3.5: Fibonacci Sequence

Exercise 4.6: Plotting Fibonacci Ratios

Print Friendly, PDF & Email

Leave a Reply