Challenge

Project - Data Handling and Interpolation

%Data handling and interpolation
Data=readmatrix('VI.xlsx'); %Loading given voltage and Current excel data sheet.
V_Volt=Data(:,1); % Loading/Extracting voltage column from excel sheet 1.
I_Amp=Data(:,2); % loading/Extracting Current column from excel sheet1.
%Interpolation of V and I.
x=-17.3:0.1:0.9; %Range of interpolation i.e starting point and final point with
%Intervals betweem them.
y=interp1(V_Volt,I_Amp,x);% Linear Interpolation (i.e default method) of given V and I data.
plot(x,y,'r:',V_Volt,I_Amp,'ok');%plot of Linear interpolation (i.e in red colour)
xlabel('x & V values'); %with given data(i.e in o marked).
ylabel('Linear Interpolated & I values');
legend('Linear-interpolation','VI plot');%Naming the two different plot(i.e 'r:' and 'ok').
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.