Home > phiwave > @phiw_wavelet > descrip.m

descrip

PURPOSE ^

returns string describing wavelet

SYNOPSIS ^

function str = descrip(w)

DESCRIPTION ^

 returns string describing wavelet

 $Id: descrip.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Wed 06-Jul-2005 18:07:21 by m2html © 2003