In Matlab, I have an X vector containing N real values:
- 0.001
- 0.003
- 0.006
- 0.009
- 0.007
- 0.006
I would like to create a new vector Xb containing all the values ββof M for X that are less than 0.005 (M <= N). How can i do this?
I tried:
Xb = X <0.005
but it gives me a vector N of values ββ0s or 1s.
Thanx
source share