from
Matrix Library for Simulink
by Jay St. Pierre
A set of blocks for manipulating 3x3 and 4x4 matrices.
|
| Contents.m |
% Unit and Timing tests for the Matrix SIMULINK library
%
% NOTE: You need the test_tools toolbox to run these tests. It should be
% available from the same place this toolbox was obtained.
%
% These scripts run unit tests:
%
% test_mat2rm - unit tests for mat2rm
% test_rm2mat - unit tests for rm2mat
% test_matrix - unit tests for all blocks in Matrix library
%
% unit_test - runs all unit tests
%
% The following tests compare the timing of different algorithms for
% each function. The fastest algorithm was used in the library. The
% "b" tests time multiple runs of the test models in order to discover,
% on average, which algorithm takes less time.
%
% mttest, mttestb - matrix transpose
% mvtest, - matrix vector product
% mmtest, mmtestb - matrix multiply
% $Source: /home/stpierre/cvsroot/matlab/simulink/matrix/test/Contents.m,v $
% $Revision: 1.3 $
% $Date: 2009-07-19 22:03:27 $
% Copyright (c) 2000-2009, Jay A. St. Pierre. All rights reserved.
|
|
Contact us at files@mathworks.com