conversion of a wavelength unit into another wavelength unit, often shifted, according to the equation: x_new = x_old * filter'; very useful to convert frequencies into wavelengths, and vice-versa
[x_new, filter] = simufilters(x_old,bandwidth, (width))
a div structure containig the data
x_old.d is of dimensions (n x q1)
x_old.v contains the labels of the input wavelengths, they are mandatory numbers, without strings
a div structure containing the bandwidths associated to each output variable
bandwidth.d is a vector of numbers, of length q2
bandwidth.v contains the labels of the output variables, also numbers, without strings
an integer; if given, it is used as bandwidth for each output variable, instead of bandwidth.d
the spectra of x_old, in the new unit
x_new.d is of dimensions (n x q1)
the q2 output units should be within the range of the q1 input units
a filter which allows the transformation of x_old into x_new; a div structure
filter.d is of dimensions (q2 x q1)