Finding the value of one column based on another column

12 views (last 30 days)
I have an (n,6) matrix where the first column is time and the 2:6 columns are cumulative sums through time. I'd like to know the time value in column 1 where the cumulative sum values in column 2:11 are equal to 0.5.
To help visualize this, I attached a figure. I'm essentially trying to find where on the x axis, each one of those distributions crosses the dashed line (at y=0.5).
Any ideas?
Sorry if some of my language is unclear...I'm neither a programmer or statistician!
Andy

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 7 Mar 2013
Edited: Azzi Abdelmalek on 7 Mar 2013
[ii,jj]=find(A(:,2:6)==0.5)
out=A(ii,1)
  4 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!