Don't know where my code is wrong and how to fix it
1 回表示 (過去 30 日間)
古いコメントを表示
回答 (1 件)
Star Strider
2022 年 7 月 18 日
The integrated result remains symbolic because ‘x’ is symbolic.
Example —
syms t x
x2 = t^3;
F2 = sin(x);
q = F2*diff(x2,t)
intq = int(q,t,0,1)
So double will fail unless there is a numeric value for ‘x’.
.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!