constructing master recession curve

조회 수: 2 (최근 30일)
ghghj jlkl
ghghj jlkl 2020년 3월 24일
답변: ghghj jlkl 2020년 3월 29일
i got different recession segments and i want to construct master recession curve without using GUI.
could you help me the code?
The figure is attached below.
  댓글 수: 2
John D'Errico
John D'Errico 2020년 3월 24일
Here is the figure as a picture, so that you and others can see directly what I am talking about:
So you appear to have many curves, all of which are of varying lengths, appear to have varying shapes, though they may have some general similarities too.
Are you asking how to take all of the curves, then pose some general model for them that would allow them to be translated and scaled, etc., so they now all fit the same model?
There is no magical solution. You need first to pose a model. It looks like some variation of negative exponential model might be appropriate, though we might be looking at the tail of some vaguely signoidal shape too. This is difficult to know, since I have no idea where the data comes from. While you use the word recession, that may come from many different contexts, and I would still have no idea what model would be best here.
Once a model has been chosen (as I said, a negative exponential form would be my best first guess) then you need to use a modeling tool. What tool? I have no idea, since you could use tools from the curve fitting toolbox, the stats toolbox, the optimization toolbox. You could do it simply enough using just fminsearch. Just model each curve independently in a loop over the many curves that you have.
You have the data though. I'm not going to extract it from the figure to show you how to do it.
My initial suggestion of a model would be:
y(L) = a + b*exp(-L/c)
here a,b and c are unknown constants you would need to solve for, again using a regression tool like fit, or one of the many others.
ghghj jlkl
ghghj jlkl 2020년 3월 24일
Thank you !

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

답변 (1개)

ghghj jlkl
ghghj jlkl 2020년 3월 29일
Hello,
i want to construct a curve like the second figure from the first figure,by arranging the curves in descending order of their minimum discharge value using matching strip method .
Could you give me hint how to construct graph like the second form ?

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by