如何在matlab里面化简式子?simplify不可以么?p =2-9/4*cos(w)^2-9/4*sin(w)^2>> simplify(p)Error using ==> reshapeTo RESHAPE the number of elements must not change.Error in ==> sym.maple at 94result = reshape(result,size(varargin{3}));Error i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 17:29:06
如何在matlab里面化简式子?simplify不可以么?p =2-9/4*cos(w)^2-9/4*sin(w)^2>> simplify(p)Error using ==> reshapeTo RESHAPE the number of elements must not change.Error in ==> sym.maple at 94result = reshape(result,size(varargin{3}));Error i
xMK0{k+sÏvxx,d#n6 Ig" Nu/nI?l_8PA ywQX\{(pQ>ޮƗuQ=66x8rǣ\~3jF/;Y Tfrs=4;D )9|eY,e0/!}- (a e/ˀ]ap<P(!RE/!b@LMJh $*WC萵uØc

如何在matlab里面化简式子?simplify不可以么?p =2-9/4*cos(w)^2-9/4*sin(w)^2>> simplify(p)Error using ==> reshapeTo RESHAPE the number of elements must not change.Error in ==> sym.maple at 94result = reshape(result,size(varargin{3}));Error i
如何在matlab里面化简式子?simplify不可以么?
p =
2-9/4*cos(w)^2-9/4*sin(w)^2
>> simplify(p)
Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> sym.maple at 94
result = reshape(result,size(varargin{3}));
Error in ==> sym.simplify at 14
r = maple('map','simplify',s);
w是syms类型的

如何在matlab里面化简式子?simplify不可以么?p =2-9/4*cos(w)^2-9/4*sin(w)^2>> simplify(p)Error using ==> reshapeTo RESHAPE the number of elements must not change.Error in ==> sym.maple at 94result = reshape(result,size(varargin{3}));Error i
你的p和w是syms类型吗?
我这里
clear
syms w
p=2-9/4*cos(w)^2-9/4*sin(w)^2;
answer=simple(p);
answer
没问题.