MATLAB: How to find a matrix which is orthogonal to another matrix

nullorthogonalplanevector

I have a matrix A, and want to find the matrix B which is orthogonal to A. How can I do it in Matlab?
e.g. A=[1,2;2,3;3,4]
Thank you in advance!

Best Answer

Dear all,
I found the solution. It's called "orthogonal complement". The code here should be
null(alpha','r')
Thank all of your contributions!
Best wishes,
Yang