Borrar filtros
Borrar filtros

How to capture N samples of a time varying signal into an array in Simulink - and repeat the process every M seconds.

6 visualizaciones (últimos 30 días)
I want to capture N samples of a time varying signal - to form an N element array. At some interval later I want to repeat the process and get a new vector of N samples. I tried putting a tapped delay inside an enabled sub-system - but it doesn't appear to replace all the values - but push one new value on the end every time. How do I flush the output of vector to get a new array every time.

Respuestas (1)

Sainath Varikuti
Sainath Varikuti el 18 de Ag. de 2015
Hi,
You can use the Buffer block in DSP system toolbox.
Regards,
Sainath.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by