Can I rely on symbolic cross?

6 views (last 30 days)
Joerg Buchholz
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
Andrei Bobrov
Andrei Bobrov on 5 Sep 2012
Edited: Andrei Bobrov on 5 Sep 2012
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.

Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!