Question: Problem Lis Next Problem (1 point) Answer the tollowing MATLAB problems. a Check all of the tollowing MATLAB commands that creates a vector of the
Problem Lis Next Problem (1 point) Answer the tollowing MATLAB problems. a Check all of the tollowing MATLAB commands that creates a vector of the even whole numbers from 20 to 45 A. 20;45;2 B. 2*(10:22.5) c. 20:2:45 GD. 20:45:2 OE. 20:2:45 b Suppose the following two MATLAB commands are executed. >>A [123451 >> B [149 16 25] wnich of the toowing commands oives the sum of the products of the coresponding terms in A and B, ie, the sum of GA. dotprod(A, B) c sum(A*B) OE. dot (A,B) c. Assume that this command is already executed: A [123; 456;789 Which of the statembnts below best describes what the for i 1:3 b-sqrt (dot (AC: , i ) ,A(:,1))) ond @A. Divide A by a constant b, where b is defined somewhere in the script. B. Divide each row of A by a number b, where b is defined differently for each row c. Divide each entry of A by the square root of its square (0.e. its absolute value D. Change each column of A to a unit vector E. This script generates an error because the division of two vectors is not defined. aF. Norie of the above describes what the script does
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
