6. Write a MATLAB program to Plot the spectra of the signal x[n]=sin(nπ/3)
2 ビュー (過去 30 日間)
古いコメントを表示
Need code for this program
3 件のコメント
Walter Roberson
2021 年 10 月 29 日
I would point out that the sooner you start programming the code, the sooner you will have it done. We are not going to provide you with the solution to your homework. If you ask specific questions or show your code and ask about specific errors then we will assist with that.
回答 (1 件)
Drishan Poovaya
2021 年 11 月 1 日
The code snippet below should solve your question.
n = 1:0.01:5;
y = sin(n*pi/3);
plot(n,y);
Modify the range of n as required
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Mathematics and Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!