matlab says the inline function will be removed in future release how should i execute a string function like '2*x.^2+5'
古いコメントを表示
function
1 件のコメント
Stephen23
2017 年 6 月 20 日
How about using anonymous functions, just like the documentation recommends?
採用された回答
その他の回答 (1 件)
Andrei Bobrov
2017 年 6 月 21 日
syms y
f = matlabFunction(2*y^2+3);
カテゴリ
ヘルプ センター および File Exchange で Function Creation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!