Code covered by the BSD License  

Highlights from
TOFsPRO toolbox

from TOFsPRO toolbox by Dariya Malyarenko
Signal processing for time-of-flight mass spectra over the broad m/z range (1-200 kDa)

matchfiltLLcoef(inhw, las, trct)
function mfcw = matchfiltLLcoef(inhw, las, trct)

%----------------------------------------------------
% Compute matched filtered coefficients for asymmetric Lorentzian wavelet
%
% INPUT:
% inhw - input peak HWHM in time ticks;
% las - left asymmetry of the input peak wavelet in time ticks
% trct - ADC precision (default = 2^9)
%
% OUTPUT:
% mfcw - matched filtered coefficients (L-L wavelet model)
%
% USAGE:
% mfcw = matchfiltLLcoef(inhw, las, trct);
% Dependency: none
%
wvlt = [lorLH(inhw, trct); lorRH((inhw+las), trct)]; size(wvlt); % make a vector

Nw=length(wvlt);

mfcw=wvlt(end:-1:1); % filter coefficients

return;

Contact us at files@mathworks.com