{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

14-440-127 Recitation 4 Presentation

14-440-127 Recitation 4 Presentation - 14:440:127...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 14:440:127 Introduction to Computers for Engineers Recitation 4 Lecturer: Blase E. Ur Recitation Instructor: Tianming Li Recitation Instructor: Ke Xu Recitation Instructor: Brian Viezbicke Recitation Instructor: Mingliang Wang Rutgers University SOE 14:440:127 Recitation 4 2-D Plot Arguments: Vector of x points, Vector of y points xpoints = [ 1 2 3 4 5 ]; ypoints = [ 6 8 9 12 15 ]; plot(xpoints, ypoints) Rutgers University SOE 14:440:127 Recitation 4 Use linspace or colon to create x xpoints = linspace(0,20,100); ypoints = x.^3; plot(xpoints, ypoints) Rutgers University SOE 14:440:127 Recitation 4 Adding Titles and Labels for Axes x = linspace(0,20,100); y = x.^3; plot(xpoints, ypoints) title('X Cubed') xlabel('X Points') ylabel('Y Points') grid on Rutgers University SOE 14:440:127 Recitation 4 Multiple Windows figure(1) plot(xpoints, ypoints) figure(2) plot(x,y) figure(1) % go back and overwrite the first figure plot(x,y) Rutgers University SOE 14:440:127 Recitation 4 Multiple Graphs in One Figure- Best Method...
View Full Document

{[ snackBarMessage ]}

Page1 / 18

14-440-127 Recitation 4 Presentation - 14:440:127...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online