Minimum y-value in each column

1 view (last 30 days)
Hg
Hg on 20 Oct 2015
Edited: Thorsten on 20 Oct 2015
How to find the first y value (in red) efficiently in each column of the image below?

Accepted Answer

Thorsten
Thorsten on 20 Oct 2015
Edited: Thorsten on 20 Oct 2015
[~,idx] = max(X);
Note that this returns 1 for columns that are all zero.

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!