Interpolation, sigmoid curve

6 ビュー (過去 30 日間)
Matlab help!
Matlab help! 2012 年 2 月 11 日
Hi, I'm not very good on matlab, som maybe this is a kind of basic question.
I have 140 values from 140 years of coal mining. There is a maximum limit of how much coal that can be extracted from the mine. My task is to make a prognosis for the next 60 years. It's suppose to look lika a sigmoind curve (an S). I have been able to make a sigmoid curve based on the different values from the years i already have. But my problem is how i'm soppose to interpolate these values into the future?
I have tried to use interp1, but i my result is not that good, it's ether going straight to the roof or below 0. So I would be very grateful for any help that I can get!

採用された回答

Anton Semechko
Anton Semechko 2012 年 2 月 11 日
you mean extrapolate into the future, not interpolate ... If you have Optimization Toolbox, you can try fitting the generalized logistic equation to your data (<http://en.wikipedia.org/wiki/Generalised_logistic_curve>) using 'lsqnonlin'
  1 件のコメント
Anton Semechko
Anton Semechko 2012 年 2 月 11 日
Also see:
1)http://www.mathworks.com/matlabcentral/fileexchange/31399-fit-logistic-curve-to-a-data-set
2)http://www.mathworks.com/matlabcentral/fileexchange/22547-logreg

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeText Analytics Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by