Home > classes > @specwin > display.m

display

PURPOSE ^

DISPLAY implement terminal display for specwin object.

SYNOPSIS ^

function display(ws)

DESCRIPTION ^

 DISPLAY implement terminal display for specwin object.
 
 
 M Hewitson 30-01-07
 
 $Id: display.html,v 1.1 2007/06/08 14:15:07 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function display(ws)
0002 
0003 % DISPLAY implement terminal display for specwin object.
0004 %
0005 %
0006 % M Hewitson 30-01-07
0007 %
0008 % $Id: display.html,v 1.1 2007/06/08 14:15:07 hewitson Exp $
0009 %
0010 for i=1:length(ws)
0011   w = ws(i);
0012   banner = sprintf('-------- %s ------------', get(w, 'name'));
0013   disp(banner);
0014 
0015   disp(' ')
0016   disp(sprintf('created: %s', w.created));
0017 
0018   disp(sprintf('   alpha: %g', w.alpha));
0019   disp(sprintf('    psll: %g', w.psll));
0020   disp(sprintf('     rov: %g', w.rov));
0021   disp(sprintf('   nenbw: %g', w.nenbw));
0022   disp(sprintf('    w3db: %g', w.w3db));
0023   disp(sprintf('flatness: %g', w.flatness));
0024   disp(sprintf('      ws: %g', w.ws));
0025   disp(sprintf('     ws2: %g', w.ws2));
0026   disp(sprintf('     win: %d', length(w.win)));
0027 
0028   disp(' ')
0029 
0030   bannerEnd = [];
0031   while length(bannerEnd) < length(banner)
0032     bannerEnd = [bannerEnd '-'];
0033   end
0034   disp(bannerEnd);
0035 
0036   disp(' ')
0037   disp(' ')
0038 end
0039 
0040 % END

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