Challenge

Project - Data Handling and Interpolation

1. Downloaded the given VI.xlsx exel file,

2. written the programme,

  • 1st uses clc and clear all command to clean the workspace and command window.
  • then data variables used to read the VI.xlsx file,
  • then V variables mentioned as 1st coloumn of exel file and I variable mentioned as 2nd column of exel file,
  • figure1 used to plot V vs I curve,
  • Iq is mentioned as -17.3:0.1:0.9 mentoned as question as interpolation range,
  • Vq1 is written as defult linear interpolation method of V vs I,
  • and Vq2 is written as spline interpolation of V vs I,
  • figure2 is created to plot defult linear interpolation data,
  • figure 3 is created to plot spline interpolation data.
  • title given for spline interpolation data.
  • Vq1 and Vq2 is written to show output value in command window,
  • fileID variable and fopen command used to create a file project_1.txt, and 'w' used to write to the file,
  • fprintf command with in fileID , '%4.4f\n', Vq1 and Vq2 used to write the value of Vq1 and Vq2,
  • fclose command to close and save the project_1.txt used,
  • after run the project_1.m, figure 1 for V vs I curve, figure 2 for defult linear interpolation, figure 3 for spline interpolation and project_1.txt file to interpolation data created.
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.