hours = (0:3).'; readings = [11; 12; 13; 14];
A = [ones(4, 1), hours];
coefficients = A \ readings;
printf ("Intercept: %.6f C; slope: %.6f C/hour\n", ...
        coefficients(1), coefficients(2));
