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.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: DISPLAY implement terminal display for specwin object.

 VERSION:     $Id: display.m,v 1.4 2007/07/30 12:18:28 ingo Exp $

 HISTORY:     30-01-2007 M Hewitson
                 Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

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