How to generate an orthogonal matrix in Octave?
I saw something like that
gallery('orthog',n,k)
in matlab, but I can't find any similar function in Octave.
Thanks!
How to generate an orthogonal matrix in Octave?
I saw something like that
gallery('orthog',n,k)
in matlab, but I can't find any similar function in Octave.
Thanks!
[q, r] = qr (a). The matrixqwill be orthogonal.Q = orth(A)on a random matrixA.