CHAR convert a miir object into a string. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: CHAR convert a miir object into a string. CALL: string = char(miir) VERSION: $Id: char.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ HISTORY: 04-02-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function pstr = char(w) 0002 % CHAR convert a miir object into a string. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: CHAR convert a miir object into a string. 0007 % 0008 % CALL: string = char(miir) 0009 % 0010 % VERSION: $Id: char.m,v 1.2 2007/07/18 13:58:45 ingo Exp $ 0011 % 0012 % HISTORY: 04-02-2007 M Hewitson 0013 % Creation 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 pstr = []; 0018 pstr = [pstr w.name]; 0019 pstr = [pstr ', fs=' num2str(w.fs)]; 0020 pstr = [pstr ', ntaps=' num2str(w.ntaps)]; 0021 pstr = [pstr ', a=' num2str(w.a)]; 0022 pstr = [pstr ', b=' num2str(w.b)]; 0023 pstr = [pstr ', gain=' num2str(w.g)]; 0024 0025 pstr = strrep(pstr, '_', '\_'); 0026 0027 % END