display

PURPOSE ^

display for the least_squares_term class.

SYNOPSIS ^

function []=display(lst)

DESCRIPTION ^

  display for the least_squares_term class.

  []=display(lst)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %
0002 %  display for the least_squares_term class.
0003 %
0004 %  []=display(lst)
0005 %
0006 function []=display(lst)
0007 
0008 if ~isa(lst,'least_squares_term')
0009     error('Object ''%s'' is a ''%s'' class object, not ''%s''.',...
0010         inputname(1),class(lst),'least_squares_term');
0011 end
0012 
0013 %  display the object
0014 
0015 disp(sprintf('\n'));
0016 for i=1:numel(lst)
0017     disp(sprintf('class ''%s'' object ''%s%s'' = \n',...
0018         class(lst),inputname(1),string_dim(lst,i)));
0019     disp(sprintf('    descriptor: ''%s'''  ,lst(i).descriptor));
0020     disp(sprintf('    scale_type: ''%s'''  ,lst(i).scale_type));
0021     disp(sprintf('         scale: %g'      ,lst(i).scale));
0022     disp(sprintf('        weight: %g\n'    ,lst(i).weight));
0023 end
0024 
0025 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003