Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: Orthonormal basis for null space of a matrix with complex and random elements
Posted:
Jun 16, 2013 3:41 AM


"Maya" wrote in message <kphu6n$il7$1@newscl01ah.mathworks.com>... > Hi, > > I want to ask how can I find the orthonormal basis for the null space of a matrix whose elements are random and complex? I have tried with null() but I get Empty matrix: 2by0.
That might be a correct answer.
It works for me
>> A=rand(2,3)+1i*rand(2,3)
A =
0.6948 + 0.7655i 0.9502 + 0.1869i 0.4387 + 0.4456i 0.3171 + 0.7952i 0.0344 + 0.4898i 0.3816 + 0.6463i
>> A(end+1,:) = rand(1,2)*A
A =
0.6948 + 0.7655i 0.9502 + 0.1869i 0.4387 + 0.4456i 0.3171 + 0.7952i 0.0344 + 0.4898i 0.3816 + 0.6463i 0.7322 + 1.1432i 0.7001 + 0.5022i 0.5992 + 0.8038i
>> null(A)
ans =
0.6626 + 0.0000i 0.1763 + 0.1934i 0.7001  0.0489i
% Bruno



