Problem with the use of find(diff...>1))

Hi, do you know why it's happening ?
I should have v=6, and w=3. I don't understand ...

 Accepted Answer

Fangjun Jiang
Fangjun Jiang on 26 May 2020
just run diff(Xr) first and you will see why

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2020a

Tags

Community Treasure Hunt

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

Start Hunting!