Project - Data Handling and Interpolation
% The following script shown below down is for performing interpolation
% for given range
Data = xlsread('VI.xlsx');
V = Data(:,1);
I = Data(:,2);
x = -17.3:0.1:0.9;
y = interp1(V,I,x,'spline');
subplot(211);
plot(V,I,'r',x,y);
grid on;
xlabel x;
ylabel y;
fileid=fopen('interpolation.txt','w');
fprintf(fileid,'%d\n',y);
fclose(fileid);

Txt file created with values after running of script
