Challenge

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
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.