Orthogonal vector to this

5 Ansichten (letzte 30 Tage)
Ashish Mishra
Ashish Mishra am 26 Nov. 2017
Kommentiert: Ashish Mishra am 26 Nov. 2017
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))';

Akzeptierte Antwort

John D'Errico
John D'Errico am 26 Nov. 2017
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.

Weitere Antworten (1)

Matt J
Matt J am 26 Nov. 2017
Bearbeitet: Matt J am 26 Nov. 2017
vector = zeros(1,100);
  2 Kommentare
John D'Errico
John D'Errico am 26 Nov. 2017
Oh, sure. But ... correct. :)
Ashish Mishra
Ashish Mishra am 26 Nov. 2017
Awesome!!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by