How can I generate an interpolation using MatLab with the following numerers
M varies linearly from 1.5 to 1.4
C decreases from 2 to 0.5
Also, is there a way to generate a code on MatLab that will find the difference between two different lines?
For example, I have a straight line (linear) with the following points (-10,1) (10,1) and I have a nonlinear line on the x y plane and I need to find the difference between the linear and nonlinear curve