Script matlab calculate vectors

조회 수: 1 (최근 30일)
Michael Marchant
Michael Marchant 2022년 1월 10일
댓글: Michael Marchant 2022년 1월 11일
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
Torsten
Torsten 2022년 1월 10일
You only address spanish contributors ?
Michael Marchant
Michael Marchant 2022년 1월 10일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Torsten
Torsten 2022년 1월 10일
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
Michael Marchant
Michael Marchant 2022년 1월 11일
@Torsten, thanks for you support, nice code
Thanks a lot!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by