Fall 2021 ESC 251

## Important Course Documents

• Course Syllabus: PDF
• Using Matlab at Home: TXT
• Midterm Solution: PDF
• Installing Anaconda: TXT
• ## Course Notes

• Aug. 30 Introduction: PDF IEEE 754 Standard
• Sep. 1 Basic Linear Algebra: PDF
• Sep. 3 Matlab Linear Algebra: PDF
• Sep. 10 Array Indicies, Dot Operators: PDF
• Sep. 13 Matlab 2D Graphics: PDF
• Sep. 15 Variables and Simple Programs PDF
• Sep. 20 Conditional Logic PDF
• Sep. 27 Loops PDF
• Oct. 04 Linear Interpolation PDF
• Oct. 06: Linear Systems of Equations PDF
• Oct. 08: Higher Order Interpolation PDF hex1.m hex2.m hex3.m
• Oct. 11: Higher Order Interpolation 2 PDF new.dat quad1.m quad1.m wholetable.m
• Oct. 13: Cubic Splines PDF
• Oct. 20: Writing Functions PDF mycos.m
• Oct. 27: Other MATLAB Functions PDF
• Oct. 29: Definite Integrals PDF trap_fun.m yofx.m traprun.m
• Nov. 01: Definite Integrals 2 PDF integ3.dat
• Nov. 08: Thermal Energy PDF temp.dat ex1.m ex2.m
• Nov. 12: Python Basics PDF
• Nov. 15: Python Logic and Loops PDF triangle.py loops.py fact.py
• Nov. 19: Python Lists PDF table1.py table2.py
• Nov. 29: Python Functions PDF myfun.py driverfun.py
• Dec 01: 2D Plotting in Python PDF all_examples.py
• Dec 03: 3D Plotting in Python PDF allfigs.py vplots.m bscan.m
• Dec 06: Reading Data Files PDF sample.dat data1.dat data2.dat
• ## Handouts

• Sample Plotting Scripts Subplots Multiple plot windows Multiple plots on one axis windows
• Comsol Model: frustum.mph

## Sample Programs

• Area of a circle: carea.m
• Convert radians to degrees: r2d.m
• Social Security: ssn1.m ssn2.m
• If-then_elseif example: if_ex1.m
• Test positive, negative or zero: pnz.m
• Piecewise Function: piecewise1.m
• 2D Piecewise Function: piecewise2.m piecewise3.m
• ## Homework Assignments

• HW 1: PDF SOLN
• HW 2: PDF SOLN
• HW 3: PDF SOLN
• HW 4: PDF
• HW 5: PDF
• HW 6: PDF
• HW 7: PDF Problem 1 Problem 2 Problem 3
• HW 8: PDF
• HW 9: PDF Problem 1 Problem 2 Problem 3 Problem 4
• HW 10: PDF P2 Discussion
• HW 11: PDF P1 Discussion
• HW 12: PDF Problem 1 Problem 2
• HW 13: PDF Discussion
• HW 14: PDF xdat.dat Problem 2 Problem 3 Problem 3 with one loop
• HW 15: PDF hw15.dat hw15_s.m
• HW 16: PDF
• HW 17: PDF hw17.dat hw17_2.m hw17_3.m poly30.jpg sin.jpg
• HW 18: PDF hw18.dat hw18.txt
• HW 19: PDF hw19_ans.txt
• HW 20: PDF myfact.m bcoef.m btheor.m nofuns.m
• Midterm Project: PDF dice.dat midassign_1.m
• HW 21: PDF hw21_ans.txt
• HW 22: PDF hw22.m yofx1.m
• HW 23: PDF hw23.dat hw23_1a.m q1a.m hw23_1b.m q2a.m hw23_2.m q3a.m hw23_3.m hw23_4.m q4a.m
• HW 24: PDF hw24_1.dat hw24_q1.m q1.m hw24_q2.m hw24_q3.m q3.m
• HW 25: TXT hw25.py
• HW 26: PDF hw26.py
• HW 27: PDF hw27.py
• HW 28: PDF hw28.py hw28_mat.py
• HW 29: PDF hw29.py hw29fun.py
• HW 30: PDF
• HW 31: PDF
• HW 32: PDF hw32.dat
• HW 33: PDF