i.e. i have a vector to which want to add 180 to all negative values. any help ??
MATLAB: I want add a value to every element that is less than zero in the vector.
vector
Related Question
- Greater than and less than
- I have an angle data which unit is degree. This angle is more than 360 degree. I want to reduce this angle.
- If statement on vector to replace values
- Stopping plot when y is less than zero
- How to sort vectors so every 1 entry is collected and followed by every 2 entry until the nth entry
- Delete every n rows if less than x
Best Answer