How to code a basic fitting quadratic in this?
11 views (last 30 days)
Wolfgang McCormack on 2 Feb 2021
I am using two scatter plots. How can I code the quadratic fitting in that? I tried more than 7 ways on the internet and it's not working. It does not work with polyfit n=5. It just turns into a mesy multiple lines!
ScatterPlotPreCOVID = scatter(x,y,'o')
ScatterPlotPostCOVID = scatter(x1,y1,'^')
Now, I do not insist coding it into it but I cannot have both quadratics simultanously for two datasets from the tools too.