[Gretl-users] how to get a diagonal matrix using commands?
Qi Shi
Friday, 13 December
2013
Fri, 13 Dec
'13
3 p.m.
Dear all,
how to transform a square matrix to a diagonal matrix using commands? for
example, we have A={2,1;1,3}, how can I get a matrix B={2,0;0,3}?
thanks!