Next: System creation
Up: Plotting
Previous: Subplot function
>> n=-10:10;
>> y=n.^2;
>> subplot(1,2,1)
>> stem(n,y)
>> title('stem function')
>> subplot(1,2,2)
>> stairs(n,y)
>> title('stairs function')
Figure 4:
stem and stairs example
 |
Copyright © 2004, Aly El-Osery
Last Modified 2005-10-27