新手 matlabA =1 2 3 35 6 7 89 10 11 1213 14 15 16>> syms c;>> A(:,1)=c*A(:,1)The following error occurred converting from sym to double:Error using ==> mupadmexError in MuPAD command:DOUBLE cannot convert the input expression into a double array.If
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 03:57:19
新手 matlabA =1 2 3 35 6 7 89 10 11 1213 14 15 16>> syms c;>> A(:,1)=c*A(:,1)The following error occurred converting from sym to double:Error using ==> mupadmexError in MuPAD command:DOUBLE cannot convert the input expression into a double array.If
新手 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.
>>
新手 matlabA =1 2 3 35 6 7 89 10 11 1213 14 15 16>> syms c;>> A(:,1)=c*A(:,1)The following error occurred converting from sym to double:Error using ==> mupadmexError in MuPAD command:DOUBLE cannot convert the input expression into a double array.If
按照提示修改就行了,赋值类型错误了;不知道你的目的,A(:,1)=c*A(:,1)改为B=c*A(:,1)就可行了