From the fitting panel save to workspace the model and:
1. Use the following code to get the mathematical expressiona and the coefficients:
formula(fittedmodel)
coeffvalues(fittedmodel1)
2. Or simply save the fitted model directly to a .mat file.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!