how do I plot different polyfit(x,y,5) onto the same graph?

3 vues (au cours des 30 derniers jours)
Jiung Shin
Jiung Shin le 9 Déc 2020
Réponse apportée : KSSV le 9 Déc 2020
I have 12 different ployfit(x,y,5) functions and I want to put them onto a single graph. how can I write my code?

Réponses (1)

KSSV
KSSV le 9 Déc 2020
Use hold on. Or save them into a matrix and plot. Read about plot, hold on.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by