How to log signals at constant 10 hertz?

1 view (last 30 days)
daniel
daniel on 3 Oct 2016
Commented: daniel on 4 Oct 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 Comments
Joe Yeh
Joe Yeh on 4 Oct 2016
What is your hardware setup ?
daniel
daniel on 4 Oct 2016
Actually the numbers don't even make any sense, the fuel consumption is way off.

Sign in to comment.

Answers (1)

INFOZOU
INFOZOU on 4 Oct 2016
file>preferences

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!