Explain weird MATLAB behavior

1 visualización (últimos 30 días)
Marco Pirola
Marco Pirola el 6 de Jul. de 2020
Comentada: Matt J el 6 de Jul. de 2020
It is the first time that having a diagonal matrix matlab keeps writing the indices of the matlab element I am requiring and then the element values
below I report the results for matlab command window
1.0e+05 *
(1,1) -1.2727
(1,2) 0.0001
vv has been extracted from a structure
Can you explain this behviour

Respuesta aceptada

Bruno Luong
Bruno Luong el 6 de Jul. de 2020
It's a SPARSE matrix
  4 comentarios
Marco Pirola
Marco Pirola el 6 de Jul. de 2020
Great, nice shot
Many thanks
Matt J
Matt J el 6 de Jul. de 2020
@Marco,
Since you are clearly satisfied with Bruno's answer, you should Accept-click it.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by