在MATL AB 中定义 A=randn(5,4,3,2) 则下列关于A的操作中正确 的是( A. y=eig (A) B. y=reshape(A ,[4 36 7]) C. y=con d(A) D. y=sin(A)
时间: 2024-03-15 19:42:38 浏览: 169
正确的操作是 B. y=reshape(A,[4 36 7])。因为A是一个5x4x3x2的4维数组,可以将其reshape成一个4x36x7的3维数组。而选项A中的eig函数是用于计算矩阵的特征值和特征向量,但是A是一个4维数组,不是一个矩阵;选项C中的cond函数是用于计算矩阵的条件数,同样不适用于4维数组;选项D中的sin函数是用于计算三角函数的,不适用于数组。
阅读全文
相关推荐


















