Challenge

Project - Data Handling and Interpolation

file= xlsread('VI.xlsx');

format compact

V=file(:,1);

I=file(:,2);

x=-17.3:0.1:0.9;

xq=interp1(V,I,x,'spline');

plot(V,I,xq,x,'o');

grid;

title('interpolation of data for volatge and current');

vv=[-17.2 -17.1 -13.8 -13.5 -13.0 -12.5 -11 -9 -5.76 -6 -1 0.11 0.25 0.5 0.66];

II=interp1(V,I,vv);

z=[vv II];

fileID=fopen('project.txt', 'w');

fprintf(fileID,'%f',vv,II);

fprintf(fileID,'%f',z);

fclose(fileID);

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.

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.