%% Matlab Homework: 6.1, 6.2 % This is a template script file for you to use to do your homework. %% 6.1, Exercise 1: %% 6.1, Exercise 2: %% 6.1, Exercise 5: %% 6.1, Exercise 6 (A sample for you to look at) x=[6;-2;3]; w=[3 -1 -5]'; (dot(x,w)/dot(x,x))*x %% 6.1, Exercise 7: %% 6.1, Exercise 11: %% 6.1, Exercise 13: %% 6.1, Exercise 33 %Here is the command to produce random integer entries between -5 and 5: x=randi([-5,5],[4,1]);