Extract Values from the vector
古いコメントを表示
Hi all
i have a vector like a=[ 4 5 10 3 7 8 11 15 2 19 20 6] now i want a new vector from a but new vector should not contain the values from 1-10; there must be the values of a only which are greater then 10. please help me.
回答 (2 件)
Andrei Bobrov
2012 年 9 月 3 日
new_vector_from_a = a(a < 1 | a > 10);
カテゴリ
ヘルプ センター および File Exchange で Image Category Classification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!