Home > classes > @miir > char.m

char

PURPOSE ^

CHAR convert a miir object into a string.

SYNOPSIS ^

function pstr = char(w)

DESCRIPTION ^

 CHAR convert a miir object into a string.
 
 M Hewitson 04-02-07
 
 $Id: char.m,v 1.1 2007/02/14 09:54:24 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function pstr = char(w)
0002 
0003 % CHAR convert a miir object into a string.
0004 %
0005 % M Hewitson 04-02-07
0006 %
0007 % $Id: char.m,v 1.1 2007/02/14 09:54:24 hewitson Exp $
0008 %
0009 
0010 pstr = [];
0011 pstr = [pstr w.name];
0012 pstr = [pstr ', fs=' num2str(w.fs)];
0013 pstr = [pstr ', ntaps=' num2str(w.ntaps)];
0014 pstr = [pstr ', a=' num2str(w.a)];
0015 pstr = [pstr ', b=' num2str(w.b)];
0016 pstr = [pstr ', gain=' num2str(w.g)];
0017 
0018 pstr = strrep(pstr, '_', '\_');
0019 
0020 % END

Generated on Mon 02-Jul-2007 12:19:41 by m2html © 2003