how to apply windowing in matlab in real time?

조회 수: 4 (최근 30일)
Gowrishankar R
Gowrishankar R 2016년 2월 29일
댓글: Ced 2016년 4월 7일
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.

답변 (1개)

Ced
Ced 2016년 4월 6일
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
Gowrishankar R
Gowrishankar R 2016년 4월 7일
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 2016년 4월 7일
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.

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

카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by