【Matlab】得到矩阵维数的方法

1.程序

clear;
v = [1 2 3 4 5; 5 4 3 2 1] ;
w = size(v)

2.结果

>> test

w =

     2     5         %2行5列

>> 

猜你喜欢

转载自blog.csdn.net/Robot_Starscream/article/details/89417583