matrices

Carlo Rossi serosole at yahoo.it
Mon Jun 1 17:21:22 CDT 2009


Hello, 
 I have a matrix A and I need to do it:

sum1 = SUM_of_all_element_on_diagonal
sum2 = sum_ofAllElemetNonOn_theDiagonal;

is it possible to do it in a compact way? thanks




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090601/cfbeedac/attachment.html 


More information about the Help-octave mailing list