how can we do this?
Show older comments
i want to calculate the maximum of vectors éléments and its position using the diff command, can any one help me ?
2 Comments
John D'Errico
on 29 Nov 2018
Why not just use max? Since it does exactly what you claim to want.
diff as applied to a vector will not help you here.
diadalina
on 29 Nov 2018
Accepted Answer
More Answers (0)
Categories
Find more on Discrete Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!