How to use extrapolation to predict the future data

10 次查看(过去 30 天)
Hello,
I have a dataset of degradation of different systems. Normally a system degrades when its health reaches 80% of its initial value.
However, as you can see in the picture, many of these systems have not reached 80% due to time limitations.
My question is How can I use extrapolation to expand my data until they reach 80%. attached you can find my data set. Each row of the cell shows the degradation of a system
I appreciate any help.

采纳的回答

Abdolkarim Mohammadi
编辑:Abdolkarim Mohammadi 2020-9-1
You should find a mathematical model a model to each of your lines using curve fitting toolbox. Type cftool in the command window to open the app. Generally, you first find a good model visually, and then validate it. Please read the post processing documentation: https://www.mathworks.com/help/curvefit/fit-postprocessing.html
I have fitted the first variable (SOH{1} vs. cycle{1}) and it seems that an exponential function of the second order can be a suitable fit, since the fitted curve is very close to the data points and I have got tight confidence bounds for each parameter.
The histogram plot of residuals also show that the follow a symmetric Normal distribution, which is another sign of a good fit.
After you achieved a good model for each of your lines, you can use fit functions to evaluate it for points outside the data points, i.e., extrapolation.
There is a caveat with extrapolation, that your actual system might have a different behavior in regions that have not been sampled. Extrapolation assumes that your system behaves similarly inside and outside of the sampled data.
  4 个评论
Abdolkarim Mohammadi
You should first export your model to the workspace from Fit > Save to workspace.
Then you can evaluate your model in any inside our outside points via feval function. For example, if you exported is named FittedModel, then you first determine the new points to evaluate:
ExtrapolationX = (1:10)';
ExtrapolationY = feval(FittedModel, ExtrapolationX);

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Smoothing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by