Filtering a very noisy plot
显示 更早的评论
Hello! I am trying to apply a filter to filter the following force plot. I have tried many like lowpass but I haven't got any to work because I am just not good at matlab
. Do you have an idea about how to do it. Maybe I should do a curve that follows the tops of the plot?
. Do you have an idea about how to do it. Maybe I should do a curve that follows the tops of the plot?回答(1 个)
Hi Christian,
A simple example to create a lowpass filter is shown below. Hope this will be helpful:
signal_original = rand([1,1000]);
plot(signal_original)
hold on
signal_lowpass = signal_original;
signal_lowpass(signal_lowpass>0.5) = 0.5;
plot(signal_lowpass)
hold off
Best,
Dongyue
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
