How to pick values that is below a certain value in a matrix/vector

Hi,
I have a vector (A) that contains 10 values.
E.g. A = [1 5 9 4 6 2 1 7 6 4]
What I want is to pick values from the vector that is larger than 5 and sample these in a new vector.
Is there an easy way to do this?
Thanks!

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2015년 4월 15일

댓글:

2015년 4월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by