Challenge

Project - Data Handling and Interpolation

data = xlsread('VI.xlsx');
a = data(:,1);
b = data(:,2);
aq = [-17.3 : 0.1 : 0.9];
aw = interp1(a,b,aq);
plot(a,b,'o',aq,aw,':.');
grid;title('linear interpolation');
fid = fopen('interpolation.txt','w');
len = length(aw);
for i = 1: len
fprintf(fid,'%d\n',aw(i))
end;

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.