Curve Fitting to high order exponential function

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

dpb
dpb 2015년 12월 30일
You can fit any model you can write; however, I'd ask what the purpose of this fitting is? If for interpolation, you'll likely do better with a spline; if for model estimation then is there a candidate model based on first principles?
IOW, the last thing to do is to simply start throwing more terms into an equation and hoping for good result.
Seeing the data would possibly lead to better and more specific suggestions.
I wish I could up-vote a comment. I would do so for dpb's comment were that possible.
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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Rakesh Chavan
Rakesh Chavan 2016년 1월 5일

0 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

질문:

2015년 12월 30일

댓글:

2016년 1월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by