Windowing a sine signal
6 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!