c_N = double c_L = double (2) islogical(Num) Y=A(Num) ans = 0 ??? Index into matrix is negative or zero. See release notes on changes to logical indices. 2.5 二维数组的子数组寻访和赋值 【例2.5-1】不同赋值方式示例。 A=zeros(2,4) A = 0 0 0 0 |