Challenge

Project - Data Handling and Interpolation

volt_Amp=xlsread('VI.xlsx');
v=volt_Amp(:,1);
a=volt_Amp(:,2);
vq=-17.3:0.1:0.9;
aq=interp1(v,a,vq);
plot(v,a,'ro',vq,aq,'b:.');
grid;
title('VI-Interpolation');
xlabel('Volage');ylabel('Current');
legend('Recorded','Interpolated');
fid=fopen('interpolated_values.txt','w');
l=length(aq);
for i=1:l
fprintf(fid,'%d\n',aq(i));
end
fclose(fid);
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.