Filtering out the noise in the observations by applying a low pass filter

조회 수: 36 (최근 30일)
I need to filter out the nosie in my observation data. Based on my understanding, I should use Low Pass Filter function. I was wondering if someone could help me with this?
I have attached the excel file as well.
Thank you and I look forward to hearing from you.
Kind regards,

채택된 답변

Abhishek Gupta
Abhishek Gupta 2021년 2월 19일
As per my understanding, you want to remove noise from your data using low-pass filter. You can do the same using the 'lowpass()' function in MATLAB. See the code below: -
% Import data from excel and save it as a variable
% Load the saved variable
signal = ObservationData.Value; % signal vector
% Use Fourier transforms to find the frequency components of a signal buried in noise
y = fft(signal);
f = (0:length(y)-1)*50/length(y);
% Apply lowpass filter
Output: -
For more information, check out the following documentations: -
  1. lowpass filter
  2. Fast fourier transform
  댓글 수: 1
Ali Saremi
Ali Saremi 2021년 2월 22일
Hi Abhishek Gupta,
Thank you so much for your help. It worked for me. Wish you a good day.

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

추가 답변 (0개)


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


Community Treasure Hunt

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

Start Hunting!

Translated by