Orthogonal vector to this

조회 수: 5 (최근 30일)
Ashish Mishra
Ashish Mishra 2017년 11월 26일
댓글: Ashish Mishra 2017년 11월 26일
How to get orthogonal vector to this:
s=((1/sqrt(2)).*(2*randi([0,1],100,2)-1)+1i*(1/sqrt(2)).*(2*randi([0,1],100,2)-1))';

채택된 답변

John D'Errico
John D'Errico 2017년 11월 26일
Orthogonal to what? The result is a 2x100 complex valued array.
Are you asking how to find a vector orthogonal to the rows of s?
That is trivial.
help null
It will give you a basis for the null space of the rows of s, in the form of a 100x98 matrix.
If you are asking something else, you need to explain what you are looking to find.

추가 답변 (1개)

Matt J
Matt J 2017년 11월 26일
편집: Matt J 2017년 11월 26일
vector = zeros(1,100);
  댓글 수: 2
John D'Errico
John D'Errico 2017년 11월 26일
Oh, sure. But ... correct. :)
Ashish Mishra
Ashish Mishra 2017년 11월 26일
Awesome!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by