Home > classes > @mfir > char.m

char

PURPOSE ^

CHAR convert an mfir object into a string.

SYNOPSIS ^

function pstr = char(w)

DESCRIPTION ^

 CHAR convert an mfir object into a string.

 M Hewitson 04-02-07

 $Id: char.m,v 1.2 2007/10/24 10:55:11 ingo Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function pstr = char(w)
0002 
0003 % CHAR convert an mfir object into a string.
0004 %
0005 % M Hewitson 04-02-07
0006 %
0007 % $Id: char.m,v 1.2 2007/10/24 10:55:11 ingo 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 ', gain=' num2str(w.gain)];
0016 
0017 pstr = strrep(pstr, '_', '\_');
0018 
0019 % END

Generated on Thu 01-Nov-2007 09:42:34 by m2html © 2003