'int2str' - like operator for a symbolic matrix element

2 次查看(过去 30 天)
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!

采纳的回答

Mischa Kim
Mischa Kim 2015-2-26
Do you mean, e.g.
mystring = char(Cs(1))

更多回答(1 个)

Carlos A. Morales Rergis
ohhh...
well... that's something I didn't try... lets give it a try then...

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by