Where is the mistake of the ^? i can plot the graph without the ^ but it say i have mistake after adding the ^ or .^
3 ビュー (過去 30 日間)
古いコメントを表示
x_array = -5:5;
y_array1 = sin(x_array.^2).*exp^(cos(x_array));
plot(x_array, y_array1)
0 件のコメント
採用された回答
Awais Saeed
2021 年 11 月 16 日
exp^(cos) is incorrect. Use
y_array1 = sin(x_array.^2).* exp(cos(x_array));
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Directed Graphs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!