Generate random linearly independent polynomials on MATLAB -


i create set of k random linearly independent polynomials of m-th order on matlab. came across this question on stackoverflow not sure of linear independence; , not looking make binary mentioned in referred question.

i tried using:

p = rand(k,m);

will give me k random linearly independent polynomials of m-th order?

you can use numerical properties of orthogonal decomposition matrices linear independence.

m = 10; f = rand(m); f = f + f';  [q,~] = qr(f); p = q'*diag(rand(1,m))*q; 

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -