Code covered by the BSD License  

Highlights from
Matrix Library for Simulink

image thumbnail
from Matrix Library for Simulink by Jay St. Pierre
A set of blocks for manipulating 3x3 and 4x4 matrices.

Contents.m
% Matrix Library for Simulink
% Version 1.2 (JASP) 19-Jul-2009
% ========================================================================
% Copyright (c) 2000-2009, Jay A. St. Pierre.  All rights reserved.
% This software is licensed under the terms of the BSD license.
% See the file license.txt that came with the software for more details.
% ========================================================================
%
% A set of blocks for manipulating 3x3 and 4x4 matrices.  In versions of
% Simulink prior to R12, matrices were handled in row-major form, thus
% the need for special blocks to handle matrices.  Although Simulink can
% now handle arrays as signals, some users may still find the row-major
% approach useful.
% 
% There are two MATLAB functions provided to help manipulate the inputs
% and outputs of any Simulink model that uses the Matrix Library.  These
% are:
%
%     rm2mat  - row major form to an array of 2-dim matrices
%     mat2rm  - array of 2-dim matrices to row major form

Contact us at files@mathworks.com