Project - Data Handling and Interpolation
- Project on Data handling and Interpolation
%PROJECT ON DATA HANDLING AND INTERPOLATION
D = xlsread('VI'); %importing data from xls
V = D(:,1); %importing column 1 i.e voltage
I = D(:,2); %importing column 2 i.e Current
T = -17.3:0.1:0.09;
diary saved_dat.txt %Writes the data of U in the text file
U = interp1(V,I,T,'spline');
diary off %Stops writing data into text file
plot(U,T,'o--');
xlim([-17.3 0.09]);
ylim([-17.3 0.09]);
grid on
legend('INTERPOLATION')
xlabel('Current')
ylabel('Voltage')
title('Voltage and Current Interpolation ')

