正在加载图片...
Plotting (1/43) >The‘plot'command √ plot(X,Y) 。 Plots vector Y versus vector X. X=5:5, Y=X.2; plot(X,Y); 25 35 If X and Y are matrixes,each column of the matrix will be plotted. x=[123,234;345] y=[135,246,357刀 345 23 345 56 7 @月济大学 TONGJI UNIVERSITY plot(x,y) Plotting (1/43) ➢ The ‘plot’ command ✓ plot(X,Y) • Plots vector Y versus vector X. X=-5:5; Y=X.^2; plot(X,Y) ; • If X and Y are matrixes, each column of the matrix will be plotted. x=[1 2 3;2 3 4;3 4 5] x = 1 2 3 2 3 4 3 4 5 plot(x, y) y=[1 3 5;2 4 6;3 5 7] y = 1 3 5 2 4 6 3 5 7
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有