How to eliminate noise from a signal by averaging out n samples, where n is a value provided by means of constant block using simulink?

2 ビュー (過去 30 日間)
I am trying to measure duty cycle of a motor. Seems like signal has noise and I can't measure the duty cycle correctly. I want to consider every n samples and sum them up and divide it by n in order to calculate the average. This has to be done using basic simulink blocks since I don't have license for dsp tool box.

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by