Script matlab calculate vectors

1 visualización (últimos 30 días)
Michael Marchant
Michael Marchant el 10 de En. de 2022
Comentada: Michael Marchant el 11 de En. de 2022
Hi guys, please, could you give me an idea of how I can solve the following academic problem?
I really appreciate your support.
Mike
  2 comentarios
Torsten
Torsten el 10 de En. de 2022
You only address spanish contributors ?
Michael Marchant
Michael Marchant el 10 de En. de 2022
Hey Torsten, thanks for your reply, not of course not, I am addressing everyone, I only have an image of the problem and it is in Spanish.
I will update the problem to English.

Iniciar sesión para comentar.

Respuesta aceptada

Torsten
Torsten el 10 de En. de 2022
syms a b c
A = [a b c];
B = [-2 1 -4];
C = [1 3 2];
result = [5*a+6 3*b-2 -4*c+1];
AB = cross(A,B);
AC = cross(A,C);
S = solve(AB+AC==result,[a b c])
S.a
S.b
S.c
  1 comentario
Michael Marchant
Michael Marchant el 11 de En. de 2022
@Torsten, thanks for you support, nice code
Thanks a lot!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by