Challenge

Project - Data Handling and Interpolation

%Answer

A = xlsread('VI.xlsx');
V = A(:,1);
I = A(:,2);
x = [-17.3:0.1:0.9];
y = interp1(V,I,x,'spline')
plot(V,I,'r',x,y)
intervoltage =[I, V]
intercurrent = interp1(V,I,intervoltage)
Z = [intervoltage intercurrent]
field = fopen('intervoltage intercurrent.txt','w');
fprintf("%f",Z);
fclose(field)

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.