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?

回答(1 个)

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

类别

在 帮助中心 和 File Exchange 中查找有关 Networks 的更多信息

产品

提问:

2020-12-9

回答:

2020-12-9

Community Treasure Hunt

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

Start Hunting!

Translated by