MATLAB Answers

Can I rely on symbolic cross?

50 views (last 30 days)
Joerg Buchholz
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
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!