How can i input this on MATLAB?

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
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.
This page is now archived on the Wayback Machine.

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 13 de Jul. de 2022
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]
ans = 3×2
3.0000 3.0000 7.0000 7.0000 -4.0000 -4.0000

Categorías

Preguntada:

el 13 de Jul. de 2022

Comentada:

Rik
el 14 de Jul. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by