question about sinc function

9 ビュー (過去 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 Center および File ExchangeLogical についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by