Strange behaviour (in matrix visualization?)

Donatello Materassi donatello.materassi at tin.it
Fri Aug 15 04:59:27 CEST 2008


Hello,

I report this strange behaviour.

Scilab version 4.1.2 for linux debian (official package).

try this commands

> P=[1,0.3;0,3,2]  //fine

> Psqroot=sqroot(P)'   //fine

> Q=Psqroot' * Psqroot  // it displays a matrix different from P in the 
entry (1,1), indeed Q is [2, 0.3; 0.3, 2]

> Q-P  // it is about 0 ????

It seems that the visualization in incorrect, but scilab
manages the computation in the proper way.

Thanks
Donatello Materassi




More information about the users mailing list