MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   请教各位达人一个关于符号计算化简的问题 (https://www.labfans.com/bbs/showthread.php?t=4997)

galieluo 2008-10-25 11:11

请教各位达人一个关于符号计算化简的问题
 
原程序是这样的:
syms x y;

simple(sin(x)*(sin(x)*cos(y)+sin(y)*cos(x)));
理想化简结果应该是sin(x)*sin(x+y);

但是matlab的运算结果是:sin(x)*(sin(x)*cos(y)+sin(y)*cos(x))
这根本没有化简吗,请问各位xdjm怎么才能化简成最简单的形式?


所有时间均为北京时间。现在的时间是 03:11

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.