This video shows how the interpolation can be done in matlab using interp1 function. 1-D interpolation.
We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com
g = 9.8;
v = 10:2:20;
theta = 30:10:80;
h=((v.^2).*((sin(theta)).^2))/(2*g);figure(1)
plot(v,h)figure(2)
plot(theta,h)vq = [13 15];
thetaq = [55 65];interpolation_v = interp1(v, h, vq)
interpolation_theta = interp1(theta, h, thetaq)