How can I delete columns when value is grater than 65 but lower than 20?

3 Ansichten (letzte 30 Tage)
I have a vector of (1:n) and i would like to delete the columns whose value is greater than 65 and lesser than 20.
Any help ?
Thank you!

Akzeptierte Antwort

KSSV
KSSV am 4 Mär. 2019
Bearbeitet: KSSV am 4 Mär. 2019
Let v be vector
v(v>65) = [] ;
v(v<20) = [] ;

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by