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')
[ m11, m12]
[ m21, m22]
m11*m22 - m12*m21
Zachary Danziger (2021). Symbolic Matrix (https://www.mathworks.com/matlabcentral/fileexchange/26729-symbolic-matrix), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!