Let a and b be three-dimensional vectors write a matlab


Question: Let a and b be three-dimensional vectors. Write a MATLAB script that performs: 1. the dot product between the two vectors and 2. the cross product a × b. Note that the script should be general and thus should be able to perform the operations for any a and b specified by the user. Do not use the built-in MATLAB functions.
A = [ 1 0 3 -1]
[ 2 1 0 2]

Do not use the built-in MATLAB functions.

B = [ 4 1 0 ]
[-1 1 3 ]
[ 2 0 1 ]
[ 1 3 4 ]

You need to make well-formed and clean code. You should not copy and paste the code from other source.

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Let a and b be three-dimensional vectors write a matlab
Reference No:- TGS0948259

Expected delivery within 24 Hours