linear fit in plot
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
zakary Surprenant
le 26 Nov 2020
Commenté : Adam Danz
le 28 Nov 2020
I can't get to add a linear fit line,
This is my code ma and me can be ignored it is for the other plots,

and this the graph i get, i just need to have a linear fit added into it!

0 commentaires
Réponse acceptée
Image Analyst
le 26 Nov 2020
Add this:
hold on;
plot(x, curve, 'b-', 'LineWidth', 3);
Plus de réponses (0)
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!