Challenge

Project - Data Handling and Interpolation

PROGRAM
%%Data handling project
a=xlsread('VI.xlsx');%to get the from the excel
v=a(:,1);%for assuming v as voltage
i=a(:,2);%for assuminf i as current
z=[-17.3:0.1:0.9];%data required from this range
yq1=interp1(v,i,z);
yq2=interp1(v,i,z,'spline');
plot(v,i,'o',z,yq1,'m-');
plot(v,i,'o',z,yq2,'b');
grid;
save yq1.txt;
OUTPUT DATA:
The output data has been attached along with the plot.
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.