full width at half maximum
Show older comments
Hello all I have a curve shape plot and Im using the codes below to find the two Xs associated with the y at half Max % halfMaxLeftIndex = find(y>=maxY/2, 1, 'first'); % halfMaxRightIndex = find(y>=maxY/2, 1, 'last')
gives me the error below
halfMaxLeftIndex =
Empty matrix: 1-by-0
Could you please advise
thanks
Accepted Answer
More Answers (0)
Categories
Find more on Structures 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!