compare two (x,y) plots or vectors optimally

조회 수: 1 (최근 30일)
MatG
MatG 2020년 9월 3일
댓글: Rik 2020년 9월 3일
Question: What's a good and fast way to find out whether an (x,y) curve (gray in the figure) is above or below another (X,Y) curve, let's call it a "bound", (shown as red/purple, green, and orange in the figure)? The values of elements of x and X vectors are not the same though the span of X (the bound) cntains x (the curve). More details below.
Background: I have about 5000 (x,y) curves, similar to the gray curve in the figure, and per each gray curve, I have 4 possible bounds shown in orange, red, purple, and green in the figure. The set of 4 bounds are saved in files and there are aboout 800 such files. I'll create the 5000 (x,y) curves and compare each with a one of the files containing the 4 bound curves according to some logic. I'd like to see whether a curve has a point higher than the bounds or it's contained by the bound from above. The values of curve and bounds values on horizontal axis are not the same (x and X vector elements are different) though the span of X (the bound) contains x (the curve)
  댓글 수: 1
Rik
Rik 2020년 9월 3일
Can you show what you mean with example data?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by