Scilab Function

testmatrix - generate some particular matrices

Calling Sequence

[y]=testmatrix(name,n)

Parameters

Description

Create some particular matrices

  • testmatrix('magi',n) : returns a magic square of size n .
  • testmatrix('frk',n) : returns the Franck matrix :
  • testmatrix('hilb',n) : is the inverse of the nxn Hilbert matrix (Hij= 1/(i+j-1)).