Find an orthogonal vector
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Samuel Hoppen
le 16 Fév 2021
Commenté : Samuel Hoppen
le 16 Fév 2021
I have the following matrix: M = [3 18 0;-3 -2 5;-1 5 0;3 3 -9]
I need to find a vector that's orthogonal to all of the vectors in this matrix. I'm familiar with how to solve for a vector that's orthogonal to two vectors (solving for lambda and multiplying lambda by a vector), but not sure how to solve for multiple vectors. Any help is appreciated!
0 commentaires
Réponse acceptée
John D'Errico
le 16 Fév 2021
Never call a variable O. Consider how difficult it will be to find the bug one day, when you see or write a zero, instead of O. And consider that in some fonts, the difference between them is very slight.
As to the question, use null.
help null
3 commentaires
James Tursa
le 16 Fév 2021
Why do you think null( ) did not give you the correct vector? What did it give you and what were you expecting differently?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!