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

3 ビュー (過去 30 日間)
Francisco Anaya
Francisco Anaya 2019 年 3 月 4 日
コメント済み: Francisco Anaya 2019 年 3 月 4 日
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 Center および File ExchangeTransfer Function Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by