6. Write a MATLAB program to Plot the spectra of the signal x[n]=sin(nπ/3)
조회 수: 4 (최근 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개)
Alamanda Ponappa 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!