Home > classes > @mfir > display.m

display

PURPOSE ^

DISPLAY overloads display functionality for mfir objects.

SYNOPSIS ^

function display(fs)

DESCRIPTION ^

 DISPLAY overloads display functionality for mfir objects.
 
 M Hewitson 11-02-07
 
 $Id: display.html,v 1.1 2007/06/08 14:15:05 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(fs)
0002 
0003 % DISPLAY overloads display functionality for mfir objects.
0004 %
0005 % M Hewitson 11-02-07
0006 %
0007 % $Id: display.html,v 1.1 2007/06/08 14:15:05 hewitson Exp $
0008 %
0009 
0010 
0011 %     f.name    = 'None';
0012 %     f.fs      = 0;
0013 %     f.ntaps   = 0;
0014 %     f.a       = [];
0015 %     f.b       = [];
0016 %     f.g       = 0;
0017 %     f.histin  = [];
0018 %     f.histout = [];
0019 %     f.infile  = '';
0020 %     f.plist   = plist();
0021 %     f.created = sprintf('%s', datestr(now));
0022 %     f.version = VERSION;
0023 
0024 
0025 for i=1:length(fs)
0026   f = fs(i);
0027   banner = sprintf('-------- %s / %s ------------', get(f, 'name'), get(f, 'version'));
0028   disp(banner);
0029 
0030   disp(' ')
0031   disp(sprintf('created: %s', f.created));
0032   disp(sprintf('version: %s', f.version));
0033   disp(sprintf('   name: %s', f.name));
0034   disp(['     fs: ' num2str(f.fs)]);
0035   disp(['  ntaps: ' num2str(f.ntaps)]);
0036   disp(['      a: ' num2str(f.a)]);
0037   disp(['   gain: ' num2str(f.g)]);
0038   disp(['histout: ' num2str(f.histout)]);
0039   
0040   disp(sprintf('Parameters:'));
0041   f.plist
0042 
0043   disp(' ')
0044 
0045   bannerEnd = [];
0046   while length(bannerEnd) < length(banner)
0047     bannerEnd = [bannerEnd '-'];
0048   end
0049   disp(bannerEnd);
0050 
0051   disp(' ')
0052   disp(' ')
0053 end
0054 
0055 
0056 
0057 
0058 % END

Generated on Fri 08-Jun-2007 16:09:11 by m2html © 2003