MATlab wont do integrate command
1 回表示 (過去 30 日間)
古いコメントを表示
Matlab only gives errors when the script is:
int(x)
%or
int(x,x)
%or
int(x+5,x)
I just want to get answers such as .5x^2, or .5x^2+5x.
The error is: Undefined function 'int' for input arguments of type 'double'.
I have Symbolic Math Toolbox Version8.2 (R2018b) running
0 件のコメント
採用された回答
Asad Mirza
2019 年 2 月 24 日
編集済み: Asad Mirza
2019 年 2 月 24 日
You have to first initialize x as a symbolic variable. You can find more information and examples here.
syms x
f = .5*x^2
int(f)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Number Theory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!