Hi, I want to make a scatter plot and then add a liner fit line as well as a exponential fit line to the scatter plot and display the equations on on the plot.
I know how to plot the exponential fit line using:
x = SZA15(:,9);y = SZA15(:,5); f = fit(x,y,'exp1') plot(f,x,y)
but I am not sure how to do the linear fit line.
Best Answer