This is where navigation should be.

FIR2LONG - Extend FIR window to LONG

Usage

g=fir2long(g,Llong);

Description

fir2long(g,Llong) will extend the FIR window g to a length Llong window by inserting zeros. Note that this is a slightly different behaviour than middlepad.

fir2long can also be used to extend a FIR window to a longer FIR window, for instance in order to satisfy the usual requirement that the window length should be divisible by the number of channels.

If the input to fir2long is a cell, fir2long will recurse into the cell array.