subscripted symbolic matrix (SYMBMATMAKE vectorized)


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)

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

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

[ a1, a2]

Cite As

Mukhtar Ullah (2023). SYMBMAT (, MATLAB Central File Exchange. Retrieved .

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

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

optimised by removing repmat and employing ones