A question for orth

2 Ansichten (letzte 30 Tage)
Jiapeng
Jiapeng am 5 Okt. 2022
Beantwortet: Torsten am 5 Okt. 2022
A = [1,-1,2;-1,1,-2;2,-2,4]
If I enter
B = orth(A)
Then,
B =
-0.4082
0.4082
-0.8165
However, range of A should not be floating point number. Which step am I missing?
Thank you!

Antworten (1)

Torsten
Torsten am 5 Okt. 2022
Can you get an integer vector for the orthonormal basis of range(A) (thus with length 1) ? Answer: No.
Further, range(A) is not a single vector. It is the complete line
L(lambda) = [1,-1,2]*lambda
with lambda in IR.
For
lambda = -1/sqrt(6)
you get the vector MATLAB returned for B.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by