This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: or disp([vector]) where vector must be either all strings or all numbers vector can NOT be a mix of strings and numbers Plots figure(2) % open new figure window with label = "Figure 2" plot(t,s) % makes plot with t on horizontal, s on vertical grid xlabel('time in seconds','fontsize',14) ylabel('amplitude','fontsize',14) title('plot a sine','fontsize',14)...
View Full Document
- Spring '11