Effacer les filtres
Effacer les filtres

'int2str' - like operator for a symbolic matrix element

2 vues (au cours des 30 derniers jours)
Carlos A. Morales Rergis
Carlos A. Morales Rergis le 26 Fév 2015
Given certain value in variable "num", Let suppose I have
As=sym('A',[num,num]); Bs=sym('B',[num,1]);
Cs=As*Bs
Is it possible to convert a single row of "Cs" into a string text ? If this is possible how is it done? Saludos!

Réponse acceptée

Mischa Kim
Mischa Kim le 26 Fév 2015
Do you mean, e.g.
mystring = char(Cs(1))

Plus de réponses (1)

Carlos A. Morales Rergis
Carlos A. Morales Rergis le 26 Fév 2015
ohhh...
well... that's something I didn't try... lets give it a try then...

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by