Challenge

Project - Data Handling and Interpolation

Q)

clc
clear all
volt = xlsread('VI.xlsx','A2:A25');
amp = xlsread('VI.xlsx','B2:B25');
figure(1)
hold on
plot(volt,amp,'*')
q = 17.3:0.1:0.9;
w = interp1(volt,amp,q,'spline');
plot(q,w,'b--')
xlabel('Voltage (V)');
ylabel('Current (A)');
save r.txt

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.