How to perform this Complex Exponential Fitting?
显示 更早的评论
Experiment result can be represented as a sum of damped exponential, sum over 1..k.
y(n)=sum(a(k)*exp(-(d(k)+j*w(k))*n+j*p(k))
The experimental result, y, is vector from 1..n;
a, d, w, p are parameters to fit, k sets; total parameters to fit are 4*k (or an array of [4 k]);
Only initial k values of "w" can be known a-prior pretty accurately;
How to write a code to do this fitting?
Thanks in advance!
回答(1 个)
the cyclist
2015-7-21
0 个投票
If you have the Statistics and Machine Learning Toolbox, then you should be able to use the nlinfit function to do this type of fit.
类别
在 帮助中心 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!