Why am I get discontinuous plot?
1 回表示 (過去 30 日間)
古いコメントを表示
Why am I get discontinuous plot?
x = -2*pi:.1:2*pi;
y = 2e-6*sin(x).*cos(x)/(10.5e-12*sin(x).^2+13.8e-12*cos(x).^2);
0 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 11 月 27 日
編集済み: Azzi Abdelmalek
2014 年 11 月 27 日
Use ./ instead of /
x = -2*pi:.1:2*pi;
y = 2e-6*sin(x).*cos(x)./(10.5e-12*sin(x).^2+13.8e-12*cos(x).^2);
plot(x,y)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!