Filtering a very noisy plot
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/521327/image.png)
댓글 수: 0
답변 (1개)
Dongyue
2022년 11월 18일
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
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!