R = hilb(5).^2
R =
    1.0000    0.2500    0.1111    0.0625    0.0400
    0.2500    0.1111    0.0625    0.0400    0.0278
    0.1111    0.0625    0.0400    0.0278    0.0204
    0.0625    0.0400    0.0278    0.0204    0.0156
    0.0400    0.0278    0.0204    0.0156    0.0123

    S = cos(pi*(1./hilb(7)-1)/6)
S =
    1.0000    0.8660    0.5000    0.0000   -0.5000   -0.8660   -1.0000
    0.8660    0.5000    0.0000   -0.5000   -0.8660   -1.0000   -0.8660
    0.5000    0.0000   -0.5000   -0.8660   -1.0000   -0.8660   -0.5000
    0.0000   -0.5000   -0.8660   -1.0000   -0.8660   -0.5000   -0.0000
   -0.5000   -0.8660   -1.0000   -0.8660   -0.5000   -0.0000    0.5000
   -0.8660   -1.0000   -0.8660   -0.5000   -0.0000    0.5000    0.8660
   -1.0000   -0.8660   -0.5000   -0.0000    0.5000    0.8660    1.0000

   M = [1.1, -5.0, 4.7;  -4.0, 4.7, -22.3;  -4.1, 2.3, 19.2]
            1.1   -5.0    4.7
           -4.0    4.7  -22.3
           -4.1    2.3   19.2

   max(M,[],2)
ans =
    4.7000
    4.7000
   19.2000

    min(M)
ans =
   -4.1000   -5.0000  -22.3000
 
    prod(M,2)
ans =
  -25.8500
  419.2400
 -181.0560

    sum(M)
ans =
   -7.0000    2.0000    1.6000