Seperate high and low frequeny components from signal.

조회 수: 12 (최근 30일)
Rajan
Rajan 2014년 10월 9일
편집: Rajan 2014년 10월 10일
Hello
Please help me in separating low and high frequency components of signal(Time series data) recorded from a biological system. For data please refer to the column 2 of attached file.
The objective of my work is to select a random frequency threshold and then plot separate time series for low and high frequency components.
Thank you
  댓글 수: 5
Rajan
Rajan 2014년 10월 10일
Please check again I have updated the file.
Star Strider
Star Strider 2014년 10월 10일
When I did a FFT of your data (column 1), there was only noise above about 5 Hz.

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

답변 (1개)

Image Analyst
Image Analyst 2014년 10월 10일
편집: Image Analyst 2014년 10월 10일
You can put this in a loop to extract from element 1 to the point and from the point to the end. Fit each segment to a line and record the slope. Plot the slopes and see where it starts to deviate from a constant. Something like (totally off the top of my head and untested)
for k = 1 : length(signal)
leftSignal = signal(1:k);
rightSignal = signal(k:end);
% Now fit
coeffs = polyfit(1:k, leftSignal, 1);
leftSlopes(k) = coeffs(1);
coeffs = polyfit(k:length(signal), rightSignal, 1);
rightSlopes(k) = coeffs(1);
end
plot(leftSlopes, 'b-', 'LineWidth', 2);
plot(rightSlopes, 'r-', 'LineWidth', 2);
grid on;
legend('Left Slopes', 'Right Slopes');
  댓글 수: 3
Image Analyst
Image Analyst 2014년 10월 10일
The signal I was talking about was the log of the frequency domain signal, NOT the time domain signal. So it should still work once you use the proper signal.
Rajan
Rajan 2014년 10월 10일
편집: Rajan 2014년 10월 10일
Thanks for your reply.
Is there any method by which I can directly filter the original time series data? Because my final objective is to separate high and low frequency components from original data. And plot two different time series Where each corresponds to different slops.

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

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by