The description of interp said, 'interp inserts zeros into the original signal and then applies a lowpass interpolating filter to the expanded sequence'
3 次查看(过去 30 天)
显示 更早的评论
The description of interp said, 'interp inserts zeros into the original signal and then applies a lowpass interpolating filter to the expanded sequence'. However, when i used interp to insert data into my oringal data, showing that data inserted isn't zero. Thanks!!!!!
before
after F1 = interp(F1,2)
1 个评论
回答(1 个)
Jonas
2022-9-16
the description says it inserts zeros AND applies the filter for interpolation. of course the filter changes the zero values.
if you want to just insert additional zeros, use the upsample function or simple dot notation like
sigUp(1:2:end)=oldSig
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!