format hex x100 x101 x102 format long Are x100 and x101 or x101 and x102 the same vectors? Yes or No Are and the same vectors? x100 x102 Yes or No fp.m 6.1d In Laboratory 4 for Math 211, you implemented the function . Modify this abs function to work with a vector-valued function by replacing the call to to one with a norm. fpv call to Save this as the function and enter your implementation here: function [x, k] = fpv( f, x0, eps_step, N_max ) % Enter your implementation here end Again with = (0, 0)T and the function how many iterations are required for 6.1e x0 f61, the fixed-point interaction to converge using = 10–5 and Nmax = 100? step Copy and paste your Matlab commands and the output here. What is the norm ||x100 where xfpv is the point returned by the function 6.1f xfpv||2 – fpv with the arguments from 6.1e and x100 is the previously calculated value after 100 iterations. Recall that || . ||2 is the 2-norm (see help norm). Copy and paste your Matlab commands and the output here. 6.1g Given the matrix M = [1 2 3; 4 5 6; 7 8 9]; what is the Matlab cod to extract the 2nd row of this matrix? Copy and paste your Matlab commands and the output here. 6.1hGiven the matrix and vector
format hex x100 x101 x102 format long Are x100 and x101 or x101 and x102 the same vectors? Yes or No Are x100 and x102 the same vectors? Yes or No 6.1d In Laboratory 4 for Math 211, you implemented the function fp.m . Modify this function to work with a vector-valued function by replacing the call to abs to one with a call to norm. Save this as the function fpv and enter your implementation here: function [x, k] = fpv( f, x0, eps_step, N_max ) % Enter your implementation here end 6.1e Again with x0 = (0, 0)T and the function f61, how many iterations are required for the fixed-point interaction to converge using step = 10–5 and Nmax = 100? Copy and paste your Matlab commands and the output here. 6.1f What is the norm ||x100 – xfpv||2 where xfpv is the point returned by the function fpv with the arguments from 6.1e and x100 is the previously calculated value after 100 iterations. Recall that || . ||2 is the 2-norm (see help norm). Copy and paste your Matlab commands and the output here. 6.1g Given the matrix M = [1 2 3; 4 5 6; 7 8 9]; what is the Matlab cod to extract the 2nd row of this matrix? Copy and paste your Matlab commands and the output here. 6.1hGiven the matrix and vector