Butterworth filtering as reading

3 views (last 30 days)
Virginia
Virginia on 23 Jan 2014
Answered: Abhishek Ballaney on 12 Feb 2018
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 Comment
ANJALI KUMARI
ANJALI KUMARI on 10 Feb 2018
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?

Sign in to comment.

Answers (1)

Abhishek Ballaney
Abhishek Ballaney on 12 Feb 2018
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!