Clear Filters
Clear Filters

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

4 views (last 30 days)
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?

Answers (1)

KSSV
KSSV on 9 Dec 2020
Use hold on. Or save them into a matrix and plot. Read about plot, hold on.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!