Project - Data Handling and Interpolation
project answer )
A = readmatrix("VI.xlsx"); % open the file and write the output.
V = A(:,1);
I = A(:,2);
command window-)
A = V; % defining a variable V from excel file .
B = I; % defining a variable I from excel file
Aq = [17.3:0.1:0.9]; % defining the range of for interpolation.
Aq1 = interp1(V,I,Aq); % interpolation.
figure(1);
plot(v,I,'o',Aq,Aq1,':'); % plotting the interpolation.
grid;
fprint(fileID, '%F', 'Aq1' % print the output Aq1 to the file.