File Exchange

image thumbnail

Symbolic Matrix

version 1.2 (2.03 KB) by

Creates a matrix composed of properly indexed symbolic elements.

1 Download


View License

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.

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

Comments and Ratings (0)



fixed index printing reversal for matrices with dimensions greater than


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.

MATLAB Release
MATLAB 7.8 (R2009a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video