필터 지우기
필터 지우기

'int2str' - like operator for a symbolic matrix element

조회 수: 1 (최근 30일)
Carlos A. Morales Rergis
Carlos A. Morales Rergis 2015년 2월 26일
답변: Carlos A. Morales Rergis 2015년 2월 26일
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
Carlos A. Morales Rergis 2015년 2월 26일
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