Relation or Pattern between curves
显示 更早的评论
I am having the following curves, and I am trying to find a relation between them, or a statistical factor to use it so i can predict curves just from one:

I would appreciate any help, Thanks!
3 个评论
Star Strider
2023-5-20
The ‘Duplicate’ flag is likely not appropriate here. This is the original post. There are (at least) two other duplicate posts related to it that I saw.
Hidd_1
2023-5-20
Image Analyst
2023-5-20
But if the question was posted multiple times, perhaps with slight modifications each time, the question becomes which is the one to answer. Presumably the latest, most recent one is the final/best one is the one to answer, rather than the first/oldest one.
采纳的回答
更多回答(1 个)
Image Analyst
2023-5-17
0 个投票
You forgot to attach your data! It should be possible to fit any particular curve to some sigmoid kind of curve, if you have the model for it, with fitnlm. I'm attaching some demos using various models so you can see how it's done.
6 个评论
Alex Sha
2023-5-18
Try the fitting function below:
For the first row data:
Sum Squared Error (SSE): 0.10950384442613
Root of Mean Square Error (RMSE): 0.0209708005475935
Correlation Coef. (R): 0.999987584910591
R-Square: 0.999975169975316
Parameter Best Estimate
--------- -------------
p1 -0.0249084190435688
p2 -0.0763243107482052
p3 0.142316610539568
p4 6.04837338439208
p5 29.8257426089756
p6 15.1516810377477
p7 4.69340638351262
p8 18.1352678248419
p9 -34.4425824172933
p10 -20.5645162561211
For the second row data:
Sum Squared Error (SSE): 0.490607218014365
Root of Mean Square Error (RMSE): 0.0443881753680807
Correlation Coef. (R): 0.999971420379912
R-Square: 0.999942841576619
Parameter Best Estimate
--------- -------------
p1 0.0929778051317028
p2 -0.0761628900340691
p3 -0.178882792529087
p4 -8.72339392625596
p5 2.37142383251581
p6 8.93100805985586
p7 -18.9633995662387
p8 11.9590466793433
p9 39.6871533513552
p10 9.02043998188305
For the third row data:
Sum Squared Error (SSE): 0.112293028574181
Root of Mean Square Error (RMSE): 0.0212361959486675
Correlation Coef. (R): 0.999993593414753
R-Square: 0.999987186870549
Parameter Best Estimate
--------- -------------
p1 -0.122327538545226
p2 0.365168326229641
p3 -0.413118508834921
p4 15.4162121444737
p5 -0.230218900430568
p6 4.24989701962221
p7 25.9289257568436
p8 -61.9155528043671
p9 91.7605255786753
p10 0.644726102395323
For the fourth row data:
Sum Squared Error (SSE): 0.130148263082422
Root of Mean Square Error (RMSE): 0.0228622787026929
Correlation Coef. (R): 0.999992227866027
R-Square: 0.999984455792459
Parameter Best Estimate
--------- -------------
p1 -0.620509642952949
p2 -0.831361297046103
p3 -0.158884676824082
p4 2.7433055327425
p5 0.22148229931868
p6 16.8000287134801
p7 138.373410204698
p8 152.0209560771
p9 34.3737366450204
p10 0.545395269938482
For the fifth row data:
Sum Squared Error (SSE): 0.0393241104660582
Root of Mean Square Error (RMSE): 0.0125669469037695
Correlation Coef. (R): 0.999997424563047
R-Square: 0.999994849132727
Parameter Best Estimate
--------- -------------
p1 -0.599320668258529
p2 -0.44341678007072
p3 -0.279977917807812
p4 3.70706464742905
p5 -7.18206037822055
p6 23.1054679279924
p7 127.864208391053
p8 100.743337230697
p9 62.8901303777835
p10 0.679481485801022
Hidd_1
2023-5-19
Alex Sha
2023-5-19
It likes Neural Network fitting, by using sigmoid transfer function in hide layer, and linear transfer function in output layer, like the picture below:
the corresponded function will then be:
Alex Sha
2023-5-20
GA only has the so-called global optimization capability in theory, but in practice it will be far from the same, even Matlab's global optimization toolbox, the results are often unsatisfactory。
类别
在 帮助中心 和 File Exchange 中查找有关 Linear and Nonlinear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





