how to create a time victor ?

How to create a time vector contaning 3000 element at a rate of 1 miilion samples per second?

1 Kommentar

Adam Danz
Adam Danz am 21 Mär. 2019
If you google "Matlab how to create time vector" or if you search this forum, you'll get dozens (or hundreds) of solutions. You got this!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Peter Perkins
Peter Perkins am 21 Mär. 2019

0 Stimmen

How would you create any vector that long in MATLAB? You'd probably use the colon operator. Do that with time values. Pick your start point, your end point, and your step size. See the documentation for datetime and (probably) seconds.

Kategorien

Gefragt:

am 21 Mär. 2019

Beantwortet:

am 21 Mär. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by