how to resolve the following in Matlab ??

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

Answers (1)

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.

This question is closed.

Asked:

on 12 Dec 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!