Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to resolve the following in Matlab ??

1 vue (au cours des 30 derniers jours)
MissA
MissA le 12 Déc 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

Image Analyst
Image Analyst le 12 Déc 2012
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.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by