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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -