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

luoyunyong 2007-06-09 16:11

【求助】变量没定义 ,急!!!
 
各位高手:
我输入一段程序,自认为没错的,运行时,却出现“??? Input argument "u" is undefined.”得错误提示
matlab中不是没有必要定义变量的吗?
我的错误出现在那里?

谢谢指教

kuaile8930 2007-06-14 00:01

看来你是初学者,只需在程序的前面加上: syms u .这样就可以了,这涉及到matlab里的符号运算.


所有时间均为北京时间。现在的时间是 09:48

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