What are the answers to the Associate Exam Practice Questions?

조회 수: 12 (최근 30일)
Dan Haugen
Dan Haugen 2015년 10월 13일
댓글: Ahmed Hassan 2020년 10월 13일
I got c,b,c,b,a but I would like a confirmed answer. See: http://www.mathworks.com/services/training/certification/exam-questions.html
  댓글 수: 3
Rik
Rik 2019년 11월 10일
Comment posted as answer by Keith Meyers:
Why does A for the first question work? It doesn't make any logical sense and it shouldn't work. Can someone explain where they found that way to get the corners?
Guillaume
Guillaume 2019년 11월 11일
Why doesn't it make any logical sense? What code do you use to get the inner 2x2 matrix of a 4x6 matrix:
M(2:3, 3:4)
%which is the same as
M([2 3], [3 4])
which basically returns the intersection of rows 2 and 3 with columns 3 and 4. With the same logic,
M([1, end], [1, end])
is the intersection of 1st and last row with 1st and last column, hence the 4 corners.

댓글을 달려면 로그인하십시오.

답변 (3개)

Decky
Decky 2018년 4월 9일
I got C D C A D.
  댓글 수: 2
Guillaume
Guillaume 2018년 4월 9일
편집: Guillaume 2018년 4월 9일
Try harder! The correct answers are A, D, C, A, D. C for the first question is going to result in an error. You can't use a cell array to index a matrix.
Ahmed Hassan
Ahmed Hassan 2020년 10월 13일
Indeed, the correct answers are: A, D, C, A, D

댓글을 달려면 로그인하십시오.


David Verrelli
David Verrelli 2016년 2월 1일
The questions are more difficult than they might appear. After testing in MATLAB I could confirm the correct answers, and I recommend this practical approach to others. (And if you then don't understand why, then read the documentation on each command.) By my count the first Dan got 1/5, and the second Dan got 3/5.... —DIV

Daniel Chappell
Daniel Chappell 2015년 10월 14일
C - four corners, so four elements indexed B - number of positive elements divided by the total number of elements C - index with end, and set this element to blank A - x-axis appears as first argument (plot(time, acceleration) D - std(Z) is a column-wise (default) statistical function
  댓글 수: 1
Helen Kirby
Helen Kirby 2016년 2월 22일
Re: the first one: Sounds logical, but actually doesn't work if you try that command out. The answer is A

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by