Challenge

Project - Data Handling and Interpolation

Project - Data Handling and Interpolation

Data = xlsread ('VI.xlsx','A2:B25');

V=Data(:,1);

I = Data(:,2);

Vq = 17.3:0.1:0.9;

Iq = interp1(V,I,Vq);

plot(Vq,Iq,'B--o'):grid:xlabel('V_volt');ylabel('I_mAmp');hold;

tiltle('voltage_vs_current');legend('interpolated_data');

VV =[-17.2 -17.1 -13.8 -13.5 -13.0 -12.5 -11 -9 -5.76 -6 -1 0.11 0.25 0.5 0.61];

IV = interp1 (V ,I , VV);

fid = fopen('MNM.txt','w');

len= length (IV);

for i = 1:len

fprintf(fid,'%f\n','IV(i)');

end

fclose(fid);

Kindly find the attached files of program as Project_Code.mlx , graphical representation interpolated data as Result.fig , Output file of interpolated data as MNM.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.