新手 matlabA =1 2 3 35 6 7 89 10 11 1213 14 15 16>> syms c;>>

问题描述:

新手 matlab
A =
1 2 3 3
5 6 7 8
9 10 11 12
13 14 15 16
>> syms c;
>> A(:,1)=c*A(:,1)
The following error occurred converting from sym to double:
Error using ==> mupadmex
Error in MuPAD command:DOUBLE cannot convert the input expression into a double array.
If the input expression contains a symbolic variable,use the VPA function instead.
>>
1个回答 分类:综合 2014-10-31

问题解答:

我来补答
按照提示修改就行了,赋值类型错误了;不知道你的目的,A(:,1)=c*A(:,1)改为B=c*A(:,1)就可行了
 
 
展开全文阅读
剩余:2000