Challenge

Project - Data Handling and Interpolation

text_file = fopen('interpolation.txt','w'); %to open text file
fid = xlsread('VI.xlsx'); % to open csv file
x = fid(:,1);
y = fid(:,2);
int_pol = -17.3:0.1:0.9;
y_out = interp1(x,y,int_pol,'spline');
plot(x,y,'o',int_pol,y_out);
grid;
fprintf(text_file,'%f','y_out');

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.