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
Naveen kumar Myla
Naveen kumar Myla 2021년 10월 29일
Nothing but i need code for this program
Walter Roberson
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
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

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by