my problem is about @.
古いコメントを表示
syms x
f=@x x.^2
quad(f,0,2)
System give error that 'Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.'
.....................................................................................................................................................................................................................................
PLEASE HELP ME
2 件のコメント
Stephen23
2022 年 2 月 3 日
Note that syms does nothing here. Get rid of it.
Sevval Zengin
2022 年 2 月 3 日
採用された回答
その他の回答 (1 件)
try it:
syms x
f=@(x) x.^2
quad(f,0,2)
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!