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

3 ビュー (過去 30 日間)
Jiung Shin
Jiung Shin 2020 年 12 月 9 日
回答済み: KSSV 2020 年 12 月 9 日
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 日
Use hold on. Or save them into a matrix and plot. Read about plot, hold on.

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by