How to log signals at constant 10 hertz?

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 commentaires

Joe Yeh
Joe Yeh le 4 Oct 2016
What is your hardware setup ?
daniel
daniel le 4 Oct 2016
Actually the numbers don't even make any sense, the fuel consumption is way off.

Connectez-vous pour commenter.

Réponses (1)

Catégories

Produits

Question posée :

le 3 Oct 2016

Commenté :

le 4 Oct 2016

Community Treasure Hunt

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

Start Hunting!

Translated by