Answer the question
In order to leave comments, you need to log in
How to interpolate data in matlab?
It is necessary to interpolate the wavelengths from 2 files. How to do it in matlab?
fid = fopen('Hemoglobin.txt', 'r');
a = fscanf(fid, '%g %g %g', [2 inf]);
a = a';
fclose(fid);
lamd=a(:,1);
EHb=a(:,2);
fid = fopen('sclera.txt', 'r');
a = fscanf(fid, '%g %g %g', [4 inf]);
a = a';
fclose(fid);
l=a(:,1);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question