How to log signals at constant 10 hertz?

1 visualización (últimos 30 días)
daniel
daniel el 3 de Oct. de 2016
Comentada: daniel el 4 de Oct. de 2016
How do I correctly log a signal to workspace at a constant 10 hertz?? When I log signals I get this weird time shift where at first the sampling rate is like .0001 and then as it approaches the end it keep getting higher and higher, .0005, .0006, then near the end its going at like .2 .. I don't get it. Where do I specify my constant sampling rate of 10 hertz??
Thanks Daniel
  2 comentarios
Joe Yeh
Joe Yeh el 4 de Oct. de 2016
What is your hardware setup ?
daniel
daniel el 4 de Oct. de 2016
Actually the numbers don't even make any sense, the fuel consumption is way off.

Iniciar sesión para comentar.

Respuestas (1)

INFOZOU
INFOZOU el 4 de Oct. de 2016
file>preferences

Categorías

Más información sobre Prepare Model Inputs and Outputs en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by