plot sin function with sincommand
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I want to know how to plot a sinc on matlab with sin
Thanks
0 件のコメント
採用された回答
Wayne King
2013 年 12 月 24 日
How about just using sinc() if you have the Signal Processing Toolbox.
If not
x = linspace(-5,5);
y = sin(pi*x)./(pi*x);
y(x==0) = 1;
plot(x,y)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!