clc
clear

x=[2 4 7];
y=[2 -4 7];
mag_x=norm(x)
mag_y=norm(y)
sum_xyxy=x+y
linear_comb=4*x-3*y
dot_xy=dot(x,y)
x_hat=x/norm(x)
cross_x_hat_y=cross(x_hat,y)

Embed on website

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