Cross Product and Vector Multiplication
23 次查看(过去 30 天)
显示 更早的评论
If i have the following 4 vectors:
D=Ax(B*C)
How would I solve for C?
Try and make this a tab bit more clear. I have A is a 1x3 matrix, B is a 3x3 matrix C is a 3x1 matrix and D is a 1x3 matrix. I am trying to solve for C. The problem is stated as A cross the product B*C equals D.
采纳的回答
Roger Stafford
2013-8-19
C = [ cross(A',B(:,1)) , cross(A',B(:,2)) , cross(A',B(:,3)) ]\(D');
4 个评论
Roger Stafford
2013-8-19
There is a way to obtain a unique value for C that satisfies your equation. Let C be given by:
C = B\(cross(D',A')/dot(A,A));
This is the unique C such that
D' = cross(A',B*C)
and
dot(B*C,A') = 0
That is, such that B*C is orthogonal to A'. It assumes that D is orthogonal to A and that B is non-singular.
更多回答(3 个)
joseph agno
2020-10-7
- Find the Matlab command to carry out the cross product of two vectors b and c and try it out on two vectors.
0 个评论
muhammad asif
2020-10-11
circle statement
1 个评论
Steven Lord
2020-10-11
Do you mean n times n? If so use the * operator.
But please do not put your own files in any subdirectory under the matlabroot directory!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!