File Exchange

image thumbnail

Symbolic Matrix

version 1.2.0.0 (2.03 KB) by Zachary Danziger
Creates a matrix composed of properly indexed symbolic elements.

2 Downloads

Updated 21 Nov 2013

View Version History

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.

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

Cite As

Zachary Danziger (2021). Symbolic Matrix (https://www.mathworks.com/matlabcentral/fileexchange/26729-symbolic-matrix), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Tyler Hoffman

I believe this functionality already exists in MATLAB. If you could modify the code to allow a matrix of symbolic functions, then I would give this 5 stars.

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!