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 comentario

Adam Danz
Adam Danz el 21 de Mzo. de 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!

Iniciar sesión para comentar.

Respuestas (1)

Peter Perkins
Peter Perkins el 21 de Mzo. de 2019

0 votos

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.

Categorías

Etiquetas

Preguntada:

el 21 de Mzo. de 2019

Respondida:

el 21 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by