Curve cover (upper limit and lower limit)

조회 수: 11 (최근 30일)
milad babaei
milad babaei 2011년 10월 26일
Hi,
i plot a curve in maTLAB.i would like to know is there anyway tu make a cover for curve(sat of data plotted in a x-y axis.this is my code :(c values will call from another script...from a truncated random number generator) -------------------------------------------------------------
nsamples=3000;
for i=1:nsamples
CS(i)=C(1,i);
phi(i)=((14.1477*CS(i)*CS(i))-(28.512*CS(i))+16.4557);
end
plot( CS,phi,'+')

답변 (1개)

Walter Roberson
Walter Roberson 2011년 10월 26일
You could use convhull or its newer equivalents.
If you need to follow the top or bottom edges more closely, you could do something like grid your data and find the highest and lowest occupied points per column.
  댓글 수: 2
milad babaei
milad babaei 2011년 10월 27일
tnx walter...yes exactly i want that(need to follow both edges closely)...would plz help me more on that??
milad babaei
milad babaei 2011년 10월 27일
how should i use convhull with my set of data which generated by a RV generator (c values)???

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

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by