create symbolic variables
Ältere Kommentare anzeigen
My problem is the following:
if I have an array ij then have to create variables ij.
ex.:
a = [ 1 2; 3 4]
then
b = [x11 x21;x12 x22]
have to create the variables corresponding to the size of the matrix.
These variables can be syms or string. Can I convert the string to syms after.
thanks advanced
Akzeptierte Antwort
Weitere Antworten (1)
Artur M. G. Lourenço
am 8 Nov. 2011
0 Stimmen
2 Kommentare
Walter Roberson
am 8 Nov. 2011
Though to be fair, this feature is new in R2011b. (Or was it R2010b?)
Artur M. G. Lourenço
am 11 Nov. 2011
Kategorien
Mehr zu Operations on Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!