Jump to content

User:Eml4500.f08.wiki.hood

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Eml4500.f08.wiki.hood (talk | contribs) at 22:15, 8 September 2008 (Matlab Primer). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Plan for EML 4500, Fall 2008:

  • Vision
  • Confidentiality
  • Method of Work
  • Old Approach


Vision

  • Learn new computer software (ie: Mediawiki, Wikipedia, Wikiversity)
  • Take advantage of free learning materials (MIT's Open Course Ware)
  • Collaboration between:
    *Members of a team
    *Teams in a class
    *Professor and students in a class

Confidentiality

  • Wikipedia policies: Wikipedia username space pages are NOT Wikipedia articles
  • In order to collaborate with their group electronically, each student must create a username space, with the username in the following format: course#.semester.teamname.lastname

Old Approach

Previous course guidelines:

  • Used E-Learning
  • Grade breakdown:

–10% Homework
–30% Exam I
–30% Exam II
–30% Exam III
(Course can be changed back to the original set-up if desired by the majority of the class)

New Course Guidelines:

Matlab Primer

Command Line Editing

Code 1: m = 2; n = 3; x = 0:.01:2*pi; y = sin(m*x); z = cos(n*x); plot(x,y,x,z)
Display 1:


Planar Plots

Code 1: x = -4:.01:4; y = sin(x); plot(x,y)
Display 1:
File:Planarplot1.jpg


Code 2: x = -1.5:.01:1.5; y = exp(-x.^2); plot(x,y)
Display 2:


Code 3: --
Display 3:


Code 4: t = 0:.001:2*pi; x = cos(3*t); y = sin(2*t); plot(x,y)
Display 4:



Code 5a: x = 0:.01:2*pi; y1 = sin(x); y2 = sin(2*x); y3 = sin(4*x); plot(x,y1,x,y2,x,y3)
Code 5b (uses matrix Y; produces same display): x = 0:.01:2*pi; Y=[sin(x)', sin(2*x)', sin(4*x)']; plot(x,Y)
Display 5:
File:Planarplot5a.jpg



Code 6: x = 0:.01:2*pi; y1 = sin(x); y2 = sin(2*x); y3 = sin(4*x); plot(x,y1,'--',x,y2,':',x,y3,'+')
Display 6:
(Same as 5 but with different line formats)



3D Line Plots

Code 1: t = .01:.01:20*pi; x = cos(t); y = sin(t); z = t.^3; plot3(x,y,z)
Display 1:


3D Mesh and Surface Plots

Code 1: mesh(eye(10))
Display 1:

Code 2: surf(eye(10))
Display 2:

Code 3: xx = -2:.2:2; yy = xx; [x,y] = meshgrid(xx,yy); z = exp(-x.^2-y.^2); mesh(z)
Display 3:

Code 4: xx = -2:.2:2; yy = xx; [x,y] = meshgrid(xx,yy); z = exp(-x.^2-y.^2); surf(z)
Display 4: