正在加载图片...
如果对MATLAB的plot函数感兴趣,想进一步了解,则键入: >>help plot PLOT Linear plot. PLOT(X,Y)plots vector Y versus vector X.If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up.If X is a scalar and Y is a vector,length(Y) disconnected points are plotted. 同样,如果想了解MATLAB中有关矩阵的操作运算函数,可以键入: >>help matfun Matrix functions-numerical linear algebra. Matrix analysis. norm Matrix or vector norm. normest Estimate the matrix 2-norm. rank Matrix rank det -Determinant. trace -Sum of diagonal elements null Null space. orth -Orthogonalization. plot函数的参数 plot(X,Y,'st’)可以用不同颜色、不同符号绘制曲线,其中’st’可以是下列参数选项 的组合。 表0-2plot绘图函数的参数 y -----vellow ------poInt -----solid m----magenta o------circle -----dotted -----cvan X------X-mark ----dashdot ------red +----plus ----dashed g----green *----star ^-----triangle (up) b----blue s---square <----triangle (left) w---white d---diamond >----triangle (right) k----black v---triangle (down) p----pentagram h----hexagram 5……. 如果对 MATLAB 的 plot 函数感兴趣,想进一步了解,则键入: >> help plot PLOT Linear plot. PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up. If X is a scalar and Y is a vector, length(Y) disconnected points are plotted. ……. 同样,如果想了解 MATLAB 中有关矩阵的操作运算函数,可以键入: >> help matfun Matrix functions - numerical linear algebra. Matrix analysis. norm - Matrix or vector norm. normest - Estimate the matrix 2-norm. rank - Matrix rank. det - Determinant. trace - Sum of diagonal elements. null - Null space. orth - Orthogonalization. plot 函数的参数 plot(X,Y,’str’)可以用不同颜色、不同符号绘制曲线,其中’str’可以是下列参数选项 的组合。 表 0-2 plot 绘图函数的参数 y -----yellow . ------point - -----solid m ----magenta o------circle : -----dotted c -----cyan x------x-mark -. ----dashdot r ------red + ----plus -- ----dashed g ----green * ----star ^ -----triangle (up) b ----blue s ---square < ----triangle (left) w ---white d ---diamond > ----triangle (right) k ----black v ---triangle (down) p ----pentagram h ----hexagram 5
<<向上翻页
©2008-现在 cucdc.com 高等教育资讯网 版权所有