Trebla
unread,Dec 8, 2011, 12:19:08 AM12/8/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
The best thing to do when the documentation is lacking is to read the comments in the function's code. They usually contain more details.
In this case, the comments mention that F's start and end are predetermined and not added by the user. I've included a portion below.
The resulting filter will approximately meet the specifications given
% by the input parameters F, A, and DEV. F is a vector of cutoff
% frequencies in Hz, in ascending order between 0 and half the sampling
% frequency Fs. If you do not specify Fs, it defaults to 2. A is a
% vector specifying the desired function's amplitude on the bands defined
% by F. The length of F is twice the length of A, minus 2 (it must
% therefore be even). The first frequency band always starts at zero,
% and the last always ends at Fs/2. It is not necessary to add these
% elements to the F vector.