Challenge

Project - Data Handling and Interpolation

interpolation=xlsread('interpolation.xlsx','sheet1','A1:B25'); % Open the text file to write the output
x=interpolation(:,1);
y=interpolation(:,2);
%y = ImAmp; % defining a variable x from excel file
%x = VVolt; % defining a variable y from excel file
xq = [-17.3:0.1:0.9]; % defining the range for interpolation
xq1 = interp1(x,y,xq); % interpolation
figure(1);
plot(x,y,'o',xq,xq1,':'); % plotting the interpolation
grid;
xlabel('VVot');
ylabel('ImAmp');
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.