IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
print_peaks.m
Go to the documentation of this file.
1
%>@ingroup graphicsapi
2
%>@file
3
%> @brief disp()
's a peak report.
4
%
5
%> @param x
6
%> @param idxs_peaks
7
function print_peaks(x, idxs_peaks)
8
db = peak_db(x);
9
for i = 1:length(idxs_peaks)
10
ic = peak_closest(db, idxs_peaks(i));
11
s = db.names{ic};
12
fprintf('
%g (%g waves/cm) - %s\n
', idxs_peaks(i), x(idxs_peaks(i)), s);
13
end;
m
misc
graphicsapi
print_peaks.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1