Project - Data Handling and Interpolation
Ans-1 As mentioned above to find the missing data in between -17.3 to 0.9 with the gap of 0.1 we have to put the mentioned value like
% plot(V,I)
% xq=-17.3:0.1:0.9
V,I are the given voltage and current.
yq=interp1(V,I,xq,'linear') % 'linear' command is given to make linear graph, along with this we can also create 'spline' and 'cubic' interpolation.
Ans-2&3 Interpolation is done to add a new data from the known data and to fiill-up the missing data between a set of ranges.Also we can create a figure showing the output
after interpolating the -17.3:0.1:0.9 we get a graph , which is attached ,please have a look (name:- Ans-2 interp,interCode)
Ans-4 We have got the missing data in .txt file which is also attached below. Using writematrix(z, 'linearinterpolation') (name:- linearinterpolation.txt)