Split a vector into 2 vector before and after a value is found
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ana Tresca
am 20 Jan. 2022
Kommentiert: Ana Tresca
am 20 Jan. 2022
Hello,
Lets say I have a vector with this values: a=[0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8]
I need to create 2 vectors, one that will include all values before 0.5 and another one the values above or equal with 0.5. How can i do this?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numeric Types 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!