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=11874)

20092437 2010-07-20 00:59

高手指点 这是怎么回事
 
clear
syms x;
g =
(pi/2 - x)^4/24 - (pi/2 - x)^2/2 + 1

这怎么就不对了???

a117038 2010-07-21 16:16

回复: 高手指点 这是怎么回事
 
[QUOTE=20092437;37562]clear
syms x;
g =
(pi/2 - x)^4/24 - (pi/2 - x)^2/2 + 1

这怎么就不对了???[/QUOTE]


‘g=’后面不要直接换行,
g =(pi/2 - x)^4/24 - (pi/2 - x)^2/2 + 1
要换行的话写成
g =...
(pi/2 - x)^4/24 - (pi/2 - x)^2/2 + 1


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

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