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 件)

KSSV
KSSV 2020 年 12 月 9 日

0 投票

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

質問済み:

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