MATLAB中zeros表示表示什么意思
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 02:15:34
xMkQEa!)&E!Nfeoqf[P.E 6IdѴQK|ʿs&9x9s{9ye}MY
~\PrAܵy);l濸uڇ߭ eTj?݆; u|\
QJgOPb@ljtL.U@7nKl9 NGX*HTP LX(%>1"9k[|R%${0;
+@cnx{G^N ,ΎHהbQUg`ō*"bgʊ4D).U-kciq
MATLAB中zeros表示表示什么意思
MATLAB中zeros表示表示什么意思
MATLAB中zeros表示表示什么意思
首先先列出matlab中help文件对zeros函数的解释:
ZEROS Zeros array.
ZEROS(N) is an N-by-N matrix of zeros.
ZEROS(M,N) or ZEROS([M,N]) is an M-by-N matrix of zeros.
ZEROS(M,N,P,...) or ZEROS([M N P ...]) is an M-by-N-by-P-by-...array of
zeros.
ZEROS(SIZE(A)) is the same size as A and all zeros.
ZEROS with no arguments is the scalar 0.
ZEROS(M,N,...,CLASSNAME) or ZEROS([M,N,...],CLASSNAME) is an
M-by-N-by-...array of zeros of class CLASSNAME.
Note:The size inputs M,N,and P...should be nonnegative integers.
Negative integers are treated as 0.
Example:
x = zeros(2,3,'int8');
然后是自己的解释:
zeros就是用来表示线性代数的0矩阵.
比如:zeros(3,3) 表示3行3列0矩阵.