Challenge

Project - Data Handling and Interpolation

>> f = xlsread('VI.xlsx');
>> v = f(:,1);
>> i = f(:,2);
>> x = [-17.3:0.1:0.9];
>> y = interp1(v,i,x);
>> plot(v,i,'*',x,y);
>> iv = [-18:0.1:2]; %the interval we esstimate it from the graph
>> ii = interp1(v,i,iv);
>> plot(v,i,'o',iv,ii);
>> fid = fopen('MatlabProjectYousuf.txt','w');

>> fprintf(fid,'%f %f\n',iv,ii);

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