SYMBMAT

subscripted symbolic matrix (SYMBMATMAKE vectorized)

Vous suivez désormais cette soumission

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]

Citation pour cette source

Mukhtar Ullah (2026). SYMBMAT (https://fr.mathworks.com/matlabcentral/fileexchange/5905-symbmat), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : SYMBMATMAKE

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

optimised by removing repmat and employing ones