Curve Fitting to high order exponential function

4 views (last 30 days)
Hello everybody, this is my first question here.
What I was trying to do is to fit an exponential function to a data. I already tried Matlab's Curve Fitting Tool, however it only fits exponential functions up to 2nd order. My data is more complex than that unfortunately, therefore 2nd order fit doesn't give me good result. Do you know any other tools or methods that I can use in Matlab to make the exponential fitting higher than 2nd order ?
Thanks in advance
Anil
  3 Comments
John D'Errico
John D'Errico on 30 Dec 2015
I wish I could up-vote a comment. I would do so for dpb's comment were that possible.
ANIL ALAN
ANIL ALAN on 4 Jan 2016
Hello dpb
Thanks for the comment. Let me go a little deeper into the problem. I am going to design a controller for a physical system. Before going into to design phase, I would like to create a nice model. A part of this system is a BLDC (as actuator). I would like to create motors model by its response to a step input. I am using its own driver card and I see that when I first introduce the step position change command, driver pass the command through some kind of filter to smoothen harsh change. Eventually, I would like to model this pre-filter hoping to fit output to a linear system. Its output looks alike a linear filter of high order with most of the states zero. I attached the output data to comment.

Sign in to comment.

Accepted Answer

Rakesh Chavan
Rakesh Chavan on 5 Jan 2016
Hi Alan,
Have you tried using the System Identification APP in MATLAB. It the App can be used for identifying linear models given data which I think you want to achieve. Documentation for the app can be found at the following link:
There are other functions like 'iddata' and 'ssest' where given data and order we can obtain a state space model for the plant. Kindly refer to the following link:
Hope this helps.

More Answers (0)

Categories

Find more on Linear Model Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!