Info
此问题已关闭。 请重新打开它进行编辑或回答。
finding the extreme points
1 次查看(过去 30 天)
显示 更早的评论
I have a set a=[0.4,0.3,0.48,0.32,0.12,0.42] .I plotted this plot(a).I need to find all the extreme points (minimum and maximum)and I need to mark it in the graph.How I can do this.Please help me.
5 个评论
Rik
2019-9-19
The image you posted doesn't make sense to me. The red markers don't seem to indicate local minima or maxima. So if you're looking to reproduce those red markers I don't know how to help you because your description is insufficient. If you want local minima and maxima, use the findpeaks function.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!