Project - Data Handling and Interpolation
Program :
A = readmatrix('VI.xlsx');
V = A(:,1);
I = A(:,2);
Vq = -17.3:0.1:0.9;
Iq1 = interp1(V,I,Vq);
Iq2 = interp1(V,I,Vq,'spline');
figure (1)
plot(V,I,'o',Vq,Iq1,':');
title ('Linear Interpolation');
grid;
xlabel('Voltage');
ylabel('Current');
