function matdems
%MATDEMS For setting up matrix computation demos from the MATLAB DEMO.

%   Ned Gulley, 6-21-93
%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 5.9 $  $Date: 2000/08/03 14:01:59 $

labelList=str2mat( ...
        'Matrix Eigenvalues', ...
        'Row Echelon Form', ...
        'Finite differences', ...
        'Finite elements');
cmptr=computer;
if length(cmptr) ~=4 | cmptr(1:4) ~= 'MAC2'
        labelList=str2mat(labelList, 'NASA airfoil');
end
nameList=str2mat( ...
        'eigmovie', ...
        'rrefmovie', ...
        'delsqdemo', ...
        'sepdemo');
if length(cmptr) ~=4 | cmptr(1:4) ~= 'MAC2'
        nameList=str2mat(nameList, 'airfoil');
end        

% The figure flag list is used to indicate whether or not a figure
% window is required by the demo
figureFlagList=[
        0
        0
        1
        1
        1];

cmdlnwin(labelList,nameList,figureFlagList);
