cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
jsmith-10-11-125
5-Regular Member

Vector

When I try to calculate the cross product of two three element vectors I get an error message on the first vector

"This value must be a 3-element vector".  I am using Mathcad Prime 8.0.0.0. I have tried the same thing on 7.0.0.0. I have changed the vector and matrix index Origin to from 0 to 1. 

Jack Smith, Katy TX

 

`

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

Vectors are matrices with one column and many rows.

Supplied to the cross product in your sheet are row matrices with one row and many columns,

Simply transpose the inputs.

Capture.JPG

Cheers

Terry

View solution in original post

2 REPLIES 2

Hi,

Vectors are matrices with one column and many rows.

Supplied to the cross product in your sheet are row matrices with one row and many columns,

Simply transpose the inputs.

Capture.JPG

Cheers

Terry

Terry, Many thanks for the answer to my question and also for the surreptitious tip on converting the single row, many column matrix that doesn't take a lot of space to the single column many row matrix.

Jack

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."