MATLAB® sessions are taught by Professor Peter T. C. So. They meet once per week; some sessions are lecture and others are devoted to in-class exercise.

MATLAB homework sets are also assigned in addition to the problem sets listed on the assignments page.

### MATLAB® Calendar

SES # | TOPICS | KEY DATES |
---|---|---|

M1 |
Introduction (PDF) Lecture 1 (PDF) Overview, MATLAB syntax |
Homework 1 out |

M2 |
Lecture 2 (PDF) Programming I: conditional and loops |
Homework 1 due Homework 2 out |

M3 | In class exercise: bouncing ball I |
Homework 2 due Homework 3 out |

M4 | In class exercise: bouncing ball II | |

M5 |
Lecture 3 (PDF) Programming II: functions |
Homework 3 due Homework 4 out |

M6 | In class exercise: recursion and Tower of Hanoi |
Homework 4 due Homework 5 out |

M7 |
Lecture 4 (PDF) Algorithm and ODE |
Homework 5 due Homework 6 out |

M8 | In class exercise: mass-spring-damper dynamics | |

M9 | In class exercise: roller disk |
Homework 6 due Homework 7 out |

M10 | In class exercise: nonlinear dynamics project I |
Homework 7 due Homework 8 out |

M11 | In class exercise: nonlinear dynamics project II | |

M12 |
Lecture 5 (PDF) Vibration and eigenvalue problems |
Homework 8 due Homework 9 out |

M13 |
Finite element and building vibration | Homework 9 due |

### MATLAB® Homework

MATLAB HOMEWORK | SOLUTIONS |
---|---|

Homework 1 (PDF) Problem 1.4 supporting file (MAT) |
(PDF) |

Homework 2 (PDF) Problem 2.3 supporting files (ZIP) (The ZIP file contains: HW023.m and ball.mat.) |
(PDF) |

Homework 3 (PDF) |
(PDF) MATLAB solution files (ZIP) (The ZIP file contains: ball3.m, ball3quadratic.m, ball3spatial.m, and ball3stokes.m.) |

Homework 4 (PDF) |
(PDF) MATLAB solution files (ZIP) (The ZIP file contains: bop.m, fctrl.m, and integral.m.) |

Homework 5 (PDF) |
(PDF) MATLAB solution files for 5.1 and 5.3 (ZIP) (The ZIP file contains: fctrlrc.m and hanoi.m.) |

Homework 6 (PDF) |
6.1 solution (PDF) MATLAB solution files for 6.2 and 6.3 (ZIP) (The ZIP file contains: MSDSE.m and MSDSRK.m.) |

Homework 7 (PDF) |
7.1 solution (PDF) MATLAB solution files for 7.2 (ZIP) (The ZIP file contains: RockerAN.m and RockerRK.m.) |

Homework 8 (PDF) |
MATLAB solution files (ZIP) (The ZIP file contains: 17 .m files.) |

Homework 9 (PDF) |
(PDF) |