MATLAB: Estimate the common logarithm of 10 using linear interpolation.

interpolationlog10

Interpolate between log 8 = 0.9030900 and log 12 = 1.0791812.
I just learned using Matlab and suddenly got this question to do in Matlab. Can someone help me? Your help is really needed and very appreciated.

Best Answer

step = 0.1;
log10(8:step:12)