Not really my solution... just a slightly cheating version of @bmtran's.
Duplicate each element of a vector.
521 Solvers
Calculate the area of a triangle between three points
922 Solvers
371 Solvers
672 Solvers
155 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!