Butterworth filtering as reading

1 次查看(过去 30 天)
Hello, so, I already know how to implement a Butterworth filter and use it for some stored data. However, now I will have some data comming in my computer by network and I would like to filter it as I am receving it, in order to be able to process it online. This seems quite easy in simulink, but I do not know how to do it in matlab code. The function request to have a signal of at least 6 samples, so my only idea is to create a buffer with the last 5 samples, take the incomming one (6th), and filter the buffer... any other idea would be very much appreciated. Thank you!
  1 个评论
ANJALI KUMARI
ANJALI KUMARI 2018-2-10
Can you tell me how to implement Butterworth filter and use it for some stored data?Actually, i have generated the code using filter design and analysis toolbox by setting all the frequencies and order and generated the code but I am not able to understand how to apply that function for my stored data?

请先登录,再进行评论。

回答(1 个)

Abhishek Ballaney
Abhishek Ballaney 2018-2-12
https://in.mathworks.com/help/signal/ref/butter.html

Community Treasure Hunt

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

Start Hunting!

Translated by