Windowing a sine signal

조회 수: 4 (최근 30일)
Suraj Narayan
Suraj Narayan 2020년 10월 18일
댓글: Ameer Hamza 2020년 10월 18일
I dont know what is windowing. Or it is writen wrong, So correct me if it is wrong and help me to solve this problem.
I tried but it is out-off my knowledge.

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 10월 18일
편집: Ameer Hamza 2020년 10월 18일
This shows an example of windowing a signal
t = linspace(-2*pi, 2*pi);
y = sin(t);
window = (t-0 > 0) - (t-2 > 0);
windowed_y = window.*y;
subplot(2,1,1)
plot(t, y);
subplot(2,1,2)
plot(t, windowed_y);
  댓글 수: 2
Suraj Narayan
Suraj Narayan 2020년 10월 18일
Thanks it's a great help...
Ameer Hamza
Ameer Hamza 2020년 10월 18일
I am glad to be of help!

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by