returns string describing wavelet $Id: descrip.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $
0001 function str = descrip(w) 0002 % returns string describing wavelet 0003 % 0004 % $Id: descrip.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $ 0005 0006 str = class(w); 0007 0008 % Basic wavelet 0009 if strcmp(class(w), 'phiw_wavelet') 0010 [H G] = get_filters(w); 0011 Hs = sprintf(' %0.2f', H); 0012 Gs = sprintf(' %0.2f', G); 0013 str = [str ' - analysis:' Hs ', synthesis:' Gs]; 0014 else 0015 str = [str ' - parameterized wavelet']; 0016 end