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.1 2007/05/14 08:23:06 hewitson 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.1 2007/05/14 08:23:06 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 ', gain=' num2str(w.g)];
0016 
0017 pstr = strrep(pstr, '_', '\_');
0018 
0019 % END

Generated on Mon 03-Sep-2007 12:12:34 by m2html © 2003