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

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?

Antworten (1)

KSSV
KSSV am 9 Dez. 2020

0 Stimmen

Use hold on. Or save them into a matrix and plot. Read about plot, hold on.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 9 Dez. 2020

Beantwortet:

am 9 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by