IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
fcon_resample.m
Go to the documentation of this file.
1
%> @brief Resampling - uses MATLAB
's DSP Toolbox @c resample() function
2
%>
3
%> @sa uip_fcon_resample.m
4
classdef fcon_resample < fcon
5
properties
6
no_fea = 80;
7
end;
8
9
methods
10
function o = fcon_resample(o)
11
o.classtitle = '
Resampling
';
12
end;
13
end;
14
15
methods(Access=protected)
16
function data = do_use(o, data)
17
data.fea_x = linspace(data.fea_x(1), data.fea_x(end), o.no_fea);
18
data.X = resample(data.X'
, o.no_fea, data.nf)
';
19
end;
20
end;
21
end
m
classes
block
fext
fcon
fcon_resample.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1