MATLAB Answers


Can I rely on symbolic cross?

Asked by Joerg Buchholz on 5 Sep 2012
I cannot find that
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?

  1 Comment

Andrei Bobrov
on 5 Sep 2012
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