plotting fitted curve to a set of data
Show older comments
Hi, I am trying to plot a graph of a certain data set of x and y, which I have no problem with, but also i have to plot a FITTED CURVE to that set of data. I been trying and looking for solution on how to get it on google but this is all i've got so far: plot(x, y, '*r') / hold on / plot(x,y, '-b') / hold off.
however the output is more likely to be a line that connects all the points more than a fitted curve
please anybody have a solution???
thanks
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!