Challenge

Project - Data Handling and Interpolation

MATLAB PROJECT

Answer :-

INTERPOLATION OF DATA

clc
clear all
z=xlsread("VI.xlsx")
V=z(:,1)
%V is the Voltage value has given in excel file
I=z(:,2)
%I is the Current value has given in excel file
x=[-17.3:0.1:0.9]
%x is the interpolation range
p=interp1(V,I,x,'linear')
%interp1 interpolates data in the file
plot(V,I,'r','MarkerSize',20,'LineWidth',2)
hold on
plot(x,p,'Color','m','LineWidth',2)
xlabel('Voltage V in V')
ylabel('Current I in mAmp')
legend('V I')
title('Voltage vs Current')
save VI.txt
Attachments :-
  • Saved text file
  • Project program file
  • Interpolation excel file
  • Graphical solutions plots
  • Interpolated output values screenshots
  • MATLAB program with output and graph screenshot
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.