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

1 commentaire

Adam Danz
Adam Danz le 21 Mar 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!

Connectez-vous pour commenter.

Réponses (1)

Peter Perkins
Peter Perkins le 21 Mar 2019

0 votes

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.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by