MATLAB Answers

0

Can I rely on symbolic cross?

Asked by Joerg Buchholz on 5 Sep 2012
I cannot find that
cross
is overloaded for symbolic vectors in the documentation. Nevertheless, it seems to work:
>> syms a b c d e f
>>
>> cross ([a; b; c], [d; e; f])
ans =
b*f - c*e
c*d - a*f
a*e - b*d
Can I rely on that?
Jörg

  1 Comment

Hi!
syms ii jj k a b c d e f
collect(det([ii,jj,k;a b c; d e f]),[ii,jj,k])

Sign in to comment.

0 Answers