MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]matlab中如何进行结果化简? (https://www.labfans.com/bbs/showthread.php?t=3957)

awei102 2008-07-21 11:37

[求助]matlab中如何进行结果化简?
 
程序计算的记过为
(12/5-16/5*i)*2^(1/2)*cos(5000*t)

虽然没有错,但是不是我想要的形式,如何让matlab自动输出
4*2^(1/2)*cos(5000*t-53.13)
这种形式,其实这2中结果一样,只是形式不同而已。
用simple(ans)也不行。

叉叉 2008-08-14 22:08

回复: [求助]matlab多项式的问题
 
用pretty吧!!

fanxing39 2008-08-16 16:00

回复: [求助]matlab中如何进行结果化简?
 
pretty 是显示为通常的书写格式,不是用来化简的。
化简的命令是 simplify


所有时间均为北京时间。现在的时间是 12:17

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