Code covered by the BSD License  

Highlights from
Symbolic Matrix

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 2.03 KB File ID: #26729

Symbolic Matrix

by

 

18 Feb 2010 (Updated )

Creates a matrix composed of properly indexed symbolic elements.

| Watch this File

File Information
Description

A matrix of symbolic elements is reasonably useful for many analytic linear algebra applications, and for analytic vector, matrix and tensor differentiation.

This function produces a matrix of arbitrary dimension of symbolic elements that are indexed by their position in the symbolic matrix for ease of reference.

EXAMPLE
>> M = symMat([2 2],'m','real')
M =
[ m11, m12]
[ m21, m22]
>> class(M)
ans =
sym
>> det(M)
ans =
m11*m22 - m12*m21

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
19 Feb 2010

An update has been made such that the element indexing conforms to standard matrix notation: i.e., e153 is now the element of row 1, column 5, layer 3.

21 Nov 2013

fixed index printing reversal for matrices with dimensions greater than

Contact us