clc
clear

X=[2 4 7]
Y=[2 -4 7]

magX= norm(X)
magY= norm(Y)

sumXY= X+Y
result=4*X-3*Y

dotXY=dot(X,Y)
crossXY= cross(X,Y)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: