Butterworth filtering as reading

3 ビュー (過去 30 日間)
Virginia
Virginia 2014 年 1 月 23 日
回答済み: Abhishek Ballaney 2018 年 2 月 12 日
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