question about sinc function

조회 수: 1 (최근 30일)
ADNAN KIRAL
ADNAN KIRAL 2019년 9월 2일
댓글: KALYAN ACHARJYA 2019년 9월 2일
hi how can i get this figure ?
Capture.PNG
i have used the following eq.
Capture2.PNG
by coding the following type;
but it did not work can u please help me with that ? i cannot get negative values. thanks.
t=-511*0.005:0.01:512*0.005;
u_1=3/2*(110*sinc(110*pi*t)-60*sinc(60*pi*t));
  댓글 수: 2
Dimitris Kalogiros
Dimitris Kalogiros 2019년 9월 2일
Hi Adnan
What exactly do want to plot ?
A sync(t) function ? Or function u(t) which you gave ?
ADNAN KIRAL
ADNAN KIRAL 2019년 9월 2일

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 2일
편집: KALYAN ACHARJYA 2019년 9월 2일
t=-linspace(-511*0.005,512*0.005,1000)
u_t=3*(sin(2*55*pi*t)-sin(2*30*pi*t))./(2*pi*t);
plot(u_t);
  댓글 수: 10
Torsten
Torsten 2019년 9월 2일
This doesn't help since you still divide by 0 at t=0.
If you divide out, you get what I wrote in my answer.
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 9월 2일
@Torsten OK sir, thanks for rectifying me. I will update it.
Gratitude!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Torsten
Torsten 2019년 9월 2일
편집: Torsten 2019년 9월 2일
t = -511*0.005:0.005:512*0.005;
u_1 = 3/2*(110*sinc(110*t)-60*sinc(60*t));
  댓글 수: 1
ADNAN KIRAL
ADNAN KIRAL 2019년 9월 2일
thanks for your reply.

댓글을 달려면 로그인하십시오.

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by