Challenge

Project - Data Handling and Interpolation

Ans;-

d = readmatrix('VI.xlsx');
v = d(:,1);
i = d(:,2);
x =  -17.3:0.1:0.9
y = interp1(v,i,x);
plot (v,i,'r',x,y)
iv = [];
ii = interp1(v,i,iv);
z = [iv ii];
filename = fopen('VI.txt','w')
fprintf(filename,'%f %f\n','z')

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.