MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   Matlab 2009创建符号 (https://www.labfans.com/bbs/showthread.php?t=22981)

poster 2019-12-10 16:49

Matlab 2009创建符号
 
如何在Matlab 2009中创建符号变量?因为它不适用于“ sym”或“ syms”命令。


回答:
您将需要安装[URL="http://www.mathworks.com/products/symbolic/"]符号工具箱[/URL] 。如果已安装[URL="http://www.cs.utah.edu/~germain/PPS/Topics/Matlab/symbolic_math.html"]该[/URL]文件,则[URL="http://www.cs.utah.edu/~germain/PPS/Topics/Matlab/symbolic_math.html"]本[/URL]文档将提供有关使用它的介绍。

要查看是否已安装工具箱,请尝试以下示例之一:

>> sqrt(sym(2)) 您应该得到:

ans = 2^(1/2)

[url=https://stackoverflow.com/questions/1892910]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:02

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