how can we do this?
显示 更早的评论
i want to calculate the maximum of vectors éléments and its position using the diff command, can any one help me ?
2 个评论
John D'Errico
2018-11-29
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
2018-11-29
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!