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

조회 수: 3 (최근 30일)
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!

채택된 답변

KSSV
KSSV 2019년 3월 4일
편집: KSSV 2019년 3월 4일
Let v be vector
v(v>65) = [] ;
v(v<20) = [] ;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Transfer Function Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by