Code for lectures and homework sets
Code is organized into lectures (1-5) and assignment solutions (1-4). Includes .m and .mat files. Lectures are following each set of lecture notes from https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-057-introduction-to-matlab-january-iap-2019/lecture-notes/ and assignment solutions are for the assignments on https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-057-introduction-to-matlab-january-iap-2019/assignments/
Lecture 1:
- helloWorld.m
- startTime.mat <-- used for helloWorld.m
- ManipulatingVariables.m
- Matrices.m
- Plotting.m
- Excercises.m <-- this file contains solutions for all the excercises in lecture 1 notes.
Assignment 1 Solutions:
- shortProblems.m
- twoLinePlot.m
- calculateGrades.m
- classGrades.mat <-- used for calculateGrades.m
- throwBall.m (optional)
- seriesConvergence.m (optional)
- encrypt.m (optional)
Lecture 2:
- dayTwoNotes.m <-- follows along with lecture examples
- Excercises2.m <-- Functions excercise
- plotSin.m
- plotSin2.m
- plotSin3.m
- plotSin4.m
Assignment 2 Solutions:
- semilog.m
- subplot.m
- mitMap.mat <-- used for subplot.m
- barGraph.m
- randomSurface.m
- findNearest.m
- loopTest.m
- rectFilt.m
- noisyData.mat <-- used for rectFilt.m
- getCircle.m
- concentric.m
- olympic.m
- throwBall2.m (optional)
- testBall.m (optional)
- rectFilt2.m (optional)
- optionalData.mat <-- used for rectFilt2.m
- tradeStock.m (optional)
- googlePrices.mat <-- used for tradeStock.m