WS2 Tutorial 2 Exercises

E figure in different colors and use a legend b plot

Info iconThis preview shows page 1. Sign up to view the full content.

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: s: 1) cos, 2) sin, 3) tan (note: trig functions are in radians) 4) sqrt 5) power (e.g., X.^2) 6) inverse power (e.g., 1./(X.^3) ) Feel free to use whatever parameters you want, just make sure that you: a) Plot sin and cos on the same plot (i.e., figure) in different colors and use a legend. b) Plot the other functions on their own plots. Your single m- file script should produce 5 separate figures. Make sure the functions are recognizable on the plot and your plots hav...
View Full Document

Ask a homework question - tutors are online