Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to resolve the following in Matlab ??

1 次查看(过去 30 天)
MissA
MissA 2012-12-12
关闭: MATLAB Answer Bot 2021-8-20
How to resolve the following in matlab?
p(t)
p=A*exp(k*t)
if only t and p variables are given in the table below
t | 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
p | 33 60 110 201 466 667 1215 2214 4034
By means of a suitable graph, I have to determine which of the points in the data set does not fit the exponential growth curve -- how to do that?
I have to determine values of A and k -- how to do that?
Many Thanks in advance
MissA

回答(1 个)

Image Analyst
Image Analyst 2012-12-12
You have to do your fit, then plot p_estimated as a function of t and plot your actual p that you used to do (train/build) the fit. Your actual p will probably bounce around the perfect formula curve. You can either just visualize it, or subtract them and find where difference are more than some acceptable number, or you can use outlier detection code like Brett Shoelsons deleteoutlier or the Median Absolute Deviation or z-score or similar kinds of metrics for identifying outliers. There are several.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by