how to create a time victor ?
3 views (last 30 days)
Show older comments
How to create a time vector contaning 3000 element at a rate of 1 miilion samples per second?
1 Comment
Adam Danz
on 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!
Answers (1)
Peter Perkins
on 21 Mar 2019
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.
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!