Hello,
I have a matrix, which is an output from angle measurement from a motor. So, over time the angle increases over time until it reaches a maximum (360 i.e) and then stops or descreases.
. For instance:
[0 10 -1 40 50 0 60 10 90 0 ]
How can I remove the invalid values, that in that example are the -1 , second and third '0's and the second 10 ?
Thank you
2 Comments
the cyclist (view profile)
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477217-removing-invalid-results-knowing-the-trend#comment_738056
Adam Danz (view profile)
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/477217-removing-invalid-results-knowing-the-trend#comment_738066
Sign in to comment.