SYMBMAT

subscripted symbolic matrix (SYMBMATMAKE vectorized)
2.2K Downloads
Updated 18 Nov 2004

No License

SYMBMATMAKE by Richard Hindmarsh was the inspiration for this submission. I have rewritten to vectorize it. No more loops! It also illustrates how to write compact code without loops.

Short Description:
Returns symbolic matrices with subscripts which can be manipulated using the Symbolic Toolbox.

e.g. symbmat('a',2,3)

returns
[ a11, a12, a13]
[ a21, a22, a23]

e.g. symbmat('a',1,2)

returns
[ a1, a2]

Cite As

Mukhtar Ullah (2024). SYMBMAT (https://www.mathworks.com/matlabcentral/fileexchange/5905-symbmat), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Symbolic Math Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired by: SYMBMATMAKE

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

optimised by removing repmat and employing ones