Use Simulink to average several measurements

2 views (last 30 days)
I'm currently trying to simulate a sensor system that includes averaging.
I would like to record a signal (generated in simulink) of x seconds and do that several times. Afterwards, I would like to take the average of these measurements and do some other processing to investigate the effect it has on the white noise present in the signal. Afterwards, I would like to wrap this in a loop to investigate some of the statistical properties.
I've implemented all this in normal .m files, but due to the complexity of the system this has become a pain to work through. I decided to use simulink because of its graphical nature.
Could anyone advise me on methods of simulating this averaging behaviour?
Thanks!

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!