How can i input this on MATLAB?
Mostrar comentarios más antiguos
How can i input this on MATLAB?
Express v = (3, 7, -4) in R3 as a linear combination of the vectors
u1=(1, 2, 3); u2 =(2, 3, 7); u3 =(3, 5, 6)
We seek scalars x, y, z such that v = xu1 + yu2 + zu3
1 comentario
Rik
el 14 de Jul. de 2022
I recovered the removed content from the Google cache (something which anyone can do). Editing away your question is very rude. Someone spent time reading your question, understanding your issue, figuring out the solution, and writing an answer. Now you repay that kindness by ensuring that the next person with a similar question can't benefit from this answer.
Respuestas (1)
b = [3, 7, -4]' ;
u1=[1, 2, 3];
u2 =[2, 3, 7];
u3 =[3, 5, 6] ;
A = [u1' u2' u3'] ;
x = A\b ;
% check
[A*x b]
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!