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 日

1 投票

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 日

2 投票

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!!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by