curve fitting of a complex data
2 ビュー (過去 30 日間)
古いコメントを表示
I'm currently working on fitting some experimental data to a complex-valued function using MATLAB's lsqcurvefit function. However, I seem to encounter issues, and I'm not getting the desired solution. I'm hoping to get some guidance on what might be going wrong with my approach. I have tried changing the values of initial guesses
VALUE OF P1=102; P3=326;
w1=8000;
xdata = [0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 7000 7500 8000 8500 9000 9500 10000 10500 11000 11500 12000 12500 13000 13500 14000 14500 15000];
ydata = [0 23.23166979 43.89101766 61.37336819 76.13374067 88.63427978 99.17236163 107.96827 115.2289659 121.1585778 125.9542122 129.7976768 132.8504967 135.2544369 137.1234954 138.5545735 139.6310041 140.4137722 140.960863 141.3115956 141.5020398 141.5603911 141.5098635 141.3688178 141.150192 140.8714973 140.5392011 140.1625248 139.7464364 139.3025573 138.8344027];
function= -1j .* ((params(1) .* (xdata ./ 60) ./ (1 + (xdata ./ w1).^2)) + (params(2) .* (xdata ./ 60) ./ (1 + (xdata ./ params(3)).^2))) .* 0.001;
i want to fit the ydata to the function given, i have tried least square methods. But i am not getting the solution.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!