Spezielle Matrizen

Untersuche, wie die folgenden Matrizen aufgebaut sind:

>> eye(4)

ans =

        1        0        0        0
        0        1        0        0
        0        0        1        0
        0        0        0        1

>> hadamard(4)

error: `hadamard' undefined near line 2 column 1

>> help hadamard

help: sorry, `hadamard' is not documented

>> hilb(3)

ans =

  1.00000  0.50000  0.33333
  0.50000  0.33333  0.25000
  0.33333  0.25000  0.20000

>> hilb(4)

ans =

  1.00000  0.50000  0.33333  0.25000
  0.50000  0.33333  0.25000  0.20000
  0.33333  0.25000  0.20000  0.16667
  0.25000  0.20000  0.16667  0.14286

>> magic(4)

ans =

       16        2        3       13
        5       11       10        8
        9        7        6       12
        4       14       15        1

>> ones(4,3)

ans =

        1        1        1
        1        1        1
        1        1        1
        1        1        1

>> pascal(4)

ans =

        1        1        1        1
        1        2        3        4
        1        3        6       10
        1        4       10       20

>> rand(4,5)

ans =

  0.52325  0.41896  0.37745  0.62157  0.31168
  0.48056  0.34537  0.28893  0.43059  0.16517
  0.79917  0.60014  0.89480  0.53227  0.44299
  0.21291  0.08396  0.02582  0.88215  0.00202

>> vander(4)

ans = 1

>> vander(6)

ans = 1

>> vander([1 2 3 4])

ans =

        1        1        1        1
        8        4        2        1
       27        9        3        1
       64       16        4        1