Azzera filtri
Azzera filtri

how to apply windowing in matlab in real time?

3 visualizzazioni (ultimi 30 giorni)
Gowrishankar R
Gowrishankar R il 29 Feb 2016
Commentato: Ced il 7 Apr 2016
i have continuous set/stream of data coming from serial port to MATLAB. this data is noisy so i want to do smoothing. how can i do smoothing for " real-time data"? should i need to use windowing method or is there any other method? please help me out.

Risposte (1)

Ced
Ced il 6 Apr 2016
Depends a bit what kind of filter you want. Butterworth or moving average filters are quite common because they are the simplest.
I usually e.g. precompute the butterworth filter coefficients using butter, and then apply them to the incoming stream manually.
  2 Commenti
Gowrishankar R
Gowrishankar R il 7 Apr 2016
i want to use moving average filter. please give any link/documentation for coding the moving average filter using windowing in real-time.
Ced
Ced il 7 Apr 2016
Just google it, you will find a million results.
It's not too technical and skips a lot of theory, but great as introductory literature for applications.

Accedi per commentare.

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by