Lc=fwtclength(Ls,w,J); [Lc,L]=fwtclength(...);
Lc=fwtclength(Ls,w,J) returns the lengths of the wavelet coefficient subbands for a signal of length Ls. Please see the help on fwt for an explanation of the parameters w and J.
[Lc,L]=fwtclength(...) additianally the function returns the next legal length of the input signal for the given extension type.
The function support the same boundary-handling flags as the fwt does.