E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011...

9
Lecture 3: ASCII, programming, intro to MatLab Professor Carr Everbach Course web page: http://www.swarthmore.edu/NatSci/ceverba1/Class/e5/E5Index.html

Transcript of E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011...

Page 1: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

Lecture  3:  ASCII,  programming,  intro  to  MatLab  

Professor  Carr  Everbach  

Course  web  page:    http://www.swarthmore.edu/NatSci/ceverba1/Class/e5/E5Index.html  

Page 2: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

Remember…    Wizards available Tuesdays/Wednesdays 7:00-9:00 pm (Hicks

213) for Engin (Matlab help) and Sundays/Tuesdays 7:00-9:00 pm Physics & Math

  Thursday 9/15   Tennis Ball Report (on website) is due   Short response essays on Fork and Mirrored articles due

  Shop class (not required – only if you are interested). Starts 9/16 (Friday). Sign up is in Engineering Department Office.

  Lab this week: Smitty out due to family funeral, so come to Trotter 201 and we’ll do servos and Matlab

  Thursday 9/22 - Matlab 1 is due  

  Plan  to  attend  a  study  session  sometime  –  just  to  see  what  they  are  like…  

Page 3: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

Also…   Matlab  Assignment  1  in  Palm’s  “Introduction  to  Matlab”  Chapter  1,  p.  49-­‐51:    12    13    17    23    26  Please  write  a  script  file  that  holds  the  commands  you  type  to  the  Matlab  prompt  to  solve  these  problems.  

Page 4: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

Moore’s  Law  

Page 5: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

ASCII  character  set  

Page 6: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...
Page 7: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...
Page 8: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

Programming  languages   Procedural  vs.  Object-­‐oriented   Compiled  vs.  Interpreted   Representation  of  data  (Matlab  uses  double-­‐precision  or  32  bits  per  variable,  but  requires  no  pre-­‐allocation  of  memory  locations)  

Page 9: E5 Lecture 3 - Swarthmore CollegeE5_Lecture_3.pptx Author Carr Everbach Created Date 9/13/2011 9:05:20 PM ...

…  MatLab  demo…