How would I write the function of f(x)=sin(x)*exp(-x/10)
6 ビュー (過去 30 日間)
古いコメントを表示
Where would I need to put periods in this function?
0 件のコメント
回答 (1 件)
James Tursa
2020 年 9 月 29 日
編集済み: James Tursa
2020 年 9 月 29 日
The multiply. E.g.,
f = @(x) sin(x) .* exp(-x/10);
You don't need it on the divide because you are dividing by a scalar.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で NaNs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!