Number of elements in m and c vectors 19
Number of observation vectors 3760
Real data
c and m solved simultaneously

Elements of c and m with iteration

Cost function with iteration

Scatter plots with lines

Final regression values
c
2.16713 -0.948944 -0.549934 -0.395656 0.033869 -0.154691 0.621507 0.226687 -0.14334 0.189545 -0.018134 -0.050782 0.000789 0.001765 -0.000921 -0.00052 0.000999 0.001564 0.002546
m
0.980989 1.014809 1.012258 1.000712 0.99546 1.006245 0.988043 1.001172 1.007312 1.002807 0.996813 0.9952 1.022159 1.016837 1.058759 1.021933 1.001166 1.001635 0.989215