我是靠谱客的博主 兴奋咖啡,这篇文章主要介绍matlab中size(A 2),MATLAB中size(A,2)什么意思,现在分享给大家,希望可以做个参考。

匿名用户

1级

2010-06-12 回答

help size

SIZE Size of array.

D = SIZE(X), for M-by-N matrix X, returns the two-element

row vector D = [M, N] containing the number of rows and columns

in the matrix. For N-D arrays, SIZE(X) returns a 1-by-N

vector of dimension lengths. Trailing singleton dimensions

are ignored.

[M,N] = SIZE(X) for matrix X, returns the number of rows and

columns in X as separate output variables.

[M1,M2,M3,...,MN] = SIZE(X) returns the sizes of the first N

dimensions of array X. If the number of output arguments N does

not equal NDIMS(X), then for:

N > NDIMS(X), size returns ones in the "extra" variables,

i.e., outputs NDIMS(X)+1 through N.

N < NDIMS(X), MN contains the product of the sizes of the

remaining dimensions, i.e., dimensions N+1 through</

最后

以上就是兴奋咖啡最近收集整理的关于matlab中size(A 2),MATLAB中size(A,2)什么意思的全部内容,更多相关matlab中size(A内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(70)

评论列表共有 0 条评论

立即
投稿
返回
顶部