My code is returning a complex array
3 ビュー (過去 30 日間)
古いコメントを表示
x = -10:1:10;
for j = -10:1:10
y(j+11) = power(2.72,-.2j);
end
plot(x,y);
%im trying to plot the function e^(-.2x) so im trying to create an array to plot
1 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Numeric Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

