Challenge

Project - Data Handling and Interpolation

clc
clear;
EL = xlsread('VI data.xlsx','Sheet1','A2:B25'); %Importing the excel data.
V= EL(:,1); % Initializing voltage values to V
I= EL(:,2); % Initializing Current values to I
t= -20:0.5:15;
figure(1)
plot(t,V, 'r-'); %Voltage plot command.
hold on;
plot(t,I, 'k-'); %Current plot command.
grid on
title('LABORATORY EXPERIMENT'); %title and label command for the graph.
xlabel('CURRENT(Amp)');
ylabel('VOLTAGE(Volts)');
print('IV.m','-djpeg');

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.