Question: Problem 4 (5 points). Generate the set of vectors ui, u2 and uz using the script clc; clear all; Q=randi ((-5 5],4,5); [P,D] - eig(0*0');

![and uz using the script clc; clear all; Q=randi ((-5 5],4,5); [P,D]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c9c687a3f_93466f3c9c63ba7b.jpg)
Problem 4 (5 points). Generate the set of vectors ui, u2 and uz using the script clc; clear all; Q=randi ((-5 5],4,5); [P,D] - eig(0*0'); ulrandi ((1 9])*P(:,1) u2=randi ([1 9])*P(:,2) u3=randi ([1 9])*P(:,3) and the vector y generated by the script y=randi ((-10 10],4,1). Using developed yourself Matlab script 1. show that vectors ui, u2 and uz mutually orthogonal 2. find the orthogonal projection () of y into Span{ui, u2, uz ). 3. find the coordinates of the orthogonal axes z. Write your Matlab script here. ul = u2 u3 y Proving of orthogonality of us, uz and us = 2 Problem 4 (5 points). Generate the set of vectors ui, u2 and uz using the script clc; clear all; Q=randi ((-5 5],4,5); [P,D] - eig(0*0'); ulrandi ((1 9])*P(:,1) u2=randi ([1 9])*P(:,2) u3=randi ([1 9])*P(:,3) and the vector y generated by the script y=randi ((-10 10],4,1). Using developed yourself Matlab script 1. show that vectors ui, u2 and uz mutually orthogonal 2. find the orthogonal projection () of y into Span{ui, u2, uz ). 3. find the coordinates of the orthogonal axes z. Write your Matlab script here. ul = u2 u3 y Proving of orthogonality of us, uz and us = 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
