Week 3 quiz - Coursera https\/class.coursera.org\/matlab-003\/quiz\/feed Feedback \u2014 Quiz Week 2 Help Center Thank you Your submission for this quiz was

Week 3 quiz - Coursera...

This preview shows page 1 - 3 out of 7 pages.

Help Center Feedback — Quiz Week 2 Thank you. Your submission for this quiz was received. You submitted this quiz on Wed 14 Oct 2015 9:26 PM CEST . You got a score of 10.00 out of 10.00 . Question 1The value of a after this command: a = [1 2 3; 4 5 6; 7 8 9] * [0 1 0]’; Your Answer Score Explanation [2 , 5 , 8] [4 ; 5; 6] [2 ; 5 ; 8] 1.00 [4 , 5 , 6] Total 1.00 / 1.00 Question Explanation The result will be a column vector because the outer dimensions of the two operands are 3 and1. Because the first and third elements of the column vector with which we multiply the matrix are0, the first and third columns of the matrix contribute nothing to the result. Because of the 1 in thecolumn vector, the result equals the second column of the matrix. Question 2What will be the value of s after this command: A = [1:4; 2:2:9; 0 0 2 -1]; s = A(end,3); Score Explanation 2 1.00 We get an error message. -1 Coursera ... 1 of 7 14.10.2015 21:27
0 Total 1.00 / 1.00 Question Explanation The variable s will be assigned the element of A in the last row and third column.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture