Conversion to cell from sym for matrix.

2 visualizaciones (últimos 30 días)
sermet
sermet el 8 de Mzo. de 2014
Comentada: sermet el 8 de Mzo. de 2014
%I need to perform sym to cell conversion for matrix. Then I need to use set(handles...) to write matrix into uitable.
%for example;
digits(50)
a=[0.122254444 0.222222232 0.3365440003]
b=vpa(a'*a)
% b is sym. I need to write b into uitable. Like set(handles.uitable1, 'Data', b), in that, b needs to be cell. when I perform b=char(b) then b=cellstr(b), it is still impossible to use set(handles...) to write into uitable.
  2 comentarios
Jan
Jan el 8 de Mzo. de 2014
Please do not only claim that it is "impossible", but explain, what you observe. Do you get an error message?
sermet
sermet el 8 de Mzo. de 2014
b looks like that
'matrix([[93.0, 45.0, 48.0], [222.0, 129.0, 138.0], [351.0, 213.0, 228.0]])'
in uitable.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by