The equation I put in the fitting tool is:
 5.*e.^(-a.*x)./(sqrt(b.^2 - a.^2)) .*(a.*sin(x.*sqrt(b.^2-a.^2))+sqrt(b.^2-a.^2).*cos(x.*sqrt(b.^2-a.^2)))
 but it appears the error: Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
 but it appears the error: Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!