Extracting data from a vector
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniel
am 6 Nov. 2015
Kommentiert: Stephen23
am 6 Nov. 2015
Hello, I have a vector (called time) with 1370000 numbers in it. I want to extract data from line 1200 to line 1500 and put it in a my new vector called NewTime I have tried NewTime=[time(1200):time(1500)] but that is not what I am after. This gives me a new vector like, NewTime=1200, 1201, 1202... etc up to 1500.
What is the correct and easy way to do it? Thank you
1 Kommentar
Stephen23
am 6 Nov. 2015
This is very basic MATLAB syntax that is taught in the introductory tutorials:
For more info:
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!