Please how do I show multiple custom equations fittings for a data set on the same Graph/Figure?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have about 6 custom equations of which I need their fit to appear on the same Graph/figure for a data set. Please how do I go about it? The data set is X=[10 20 30 40 50 60], y=[3.20 2.00 1.47 1.36 1.19 1.09] The custom equations are (1)exp(-k*t) (2)exp(-k*t^n) (3)a*exp(-k*t) (4)a*exp(-k*t) (5)a*exp(-k*t)+c (6)a*exp(-k1*t)+b*exp(-k2*t). Pls can someone help? I need the 6 of the fits to appear on the same figure/graph. Thanks
0 commentaires
Réponses (1)
Alan Stevens
le 18 Août 2021
Use the "hold on" command after the first plot.
help hold
0 commentaires
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!