Challenge

Project - Data Handling and Interpolation

Q1)

[x]=xlsread('VI.xlsx');
V=x(:,1);
I=x(:,2);
XP=[-17.3:0.1:0.9];
XP1=interp1(V,I,XP)
XP2=interp1(V,I,XP,'spline');
figure(1)
plot(V,I,'O',XP,XP1,':');
title ('Linear Interpolation');
figure (2)
plot(V,I,'b',XP,XP2,':')
title('Spline Interpolation');
filename=fopen('project.txt.m');
fclose(filename);
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.