Challenge

Project 1 - Data Handling and Interpolation

Voltage = xlsread('VI.xlsx',1,'A2:A25');
Current = xlsread('VI.xlsx',1,'B2:B25');
R=-17.3:0.1:0.9;
IP=interp1(Voltage,Current,R,'linear','extrap');
plot(IP,R);
F_id = fopen('interpolated_data.txt','w');
fprintf(F_id,'%7s %7s\n','Voltage','Current');
B=[R; IP];
fprintf(F_id,'%2.6f %2.4f\n',B);
fclose(F_id);

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.