Script matlab calculate vectors
1 次查看(过去 30 天)
显示 更早的评论
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
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!