title: In matlab, how to calculate area under the plot above a threshold horizontal line? Fig attached
body: <p>I need to calculate the area above the threshold line, i.e the shaded area</p>
  <p><a href="https://i.stack.imgur.com/xqyH7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xqyH7.png" alt="plot" /></a></p>