Fit Gaussian into symbolic expression
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a symbolic expression which contains very complex terms. I wish to fit this expression into a Gaussian Distribution.
The fit function takes only arrays as arguments. So i tried to find the data points of my symbolic expression using subs, but is there a better way to fit the expression directly into a gaussian?
EDIT: Not only Gaussian but solution for any other fittype such as 'rat', 'poly', etc, is happily accepted.
5 Commenti
Dhritishmam Sarmah
il 21 Dic 2018
Modificato: Dhritishmam Sarmah
il 21 Dic 2018
Walter Roberson
il 21 Dic 2018
extract the model formula from the fit object and str2sym it. extract the parameter names and values and subs()
However in practice you might be able to just feval() the fit object at particular locations or plot the fit object .
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!