So you think you can be a MathWorks Certified MATLAB Associate?

Here are a couple of questions from the Mathworks site, for anyone who might be interested in getting the Matlab associate certification. They should be easy for anyone doing anything serious with that amazing package.

Just be careful while reading the questions and don’t try for the easy answer.


Which command will return the corner elements of a 10-by-10 matrix A?

A.  A([1,end], [1,end])
B.  A([1,1], [end,end])
C.  A({[1,1], [1,end], [end,1], [end,end]})
D.  A(1:end, 1:end)

Which command will return the percentage of positive numbers in a 10-by-10 matrix A?

A.  A(A > 0)/A
B.  numel(A > 0)/numel(A)
C.  sum(A > 0)/prod(size(A))
D.  nnz(A > 0)/numel(A)

Which command will delete (completely remove) the last cell of a cell-array C?

A.  C{end} = [];
B.  C[end] = [];
C.  C(end) = [];
D.  C{end} = {[]};

Which command will create a plot of acceleration vs. time (i.e., a vector time on the x-axis and a vector acceleration on the y-axis)?

A.  plot(time, acceleration)
B.  plot(acceleration, time)
C.  plot([time, acceleration])
D.  plot([acceleration, time])

Which command will give the standard deviation for each column in a 10-by-5 matrix Z?

A.  std(Z(:))
B.  std(std(Z))
C.  std(Z(1:5, : ))
D.  std(Z)

How was that? Did well? You can see answers below.

Answers (mark them to see them)  : ADCAD

If you did well, you can try your luck with the real thing. For info, check here.



  1. Hello there,
    Could you please point me to some more practice materials regarding “MathWorks Certified MATLAB Associate” please? Thanks 🙂

  2. Hello Konstantinos,

    I would much appreciate your help with the following:
    Apart from the Mathworks certification services, is there any other alternative for someone to get certified in the use of MatLab on-line?
    I would only consider some renowned institution or other certification body.
    Thank you for your time.

    1. Hi Evangelos.

      Unfortunately, I am not aware of any other certification apart from the one offered by Mathworks. While employers ask for experience with Matlab, I don’t think they’ve catched up with the whole certification thing.

      I understand that, money-wise, the mathworks certification may not be such a good idea at the moment.

      Sorry I couldn’t be of more help.

      1. Thank you for your prompt response, sincerely.
        My apologies for not having replied earlier.

  3. Hello,
    the first an the last answers, you gave here are wrong.
    First question you say “B. A([1,1], [end,end])” is right, but this will give 4 times the same number (first line, last column). => A is right.
    At the last question you say “C. std(Z(1:5, : ))” is right. But this will give only the standard deviation for the first five lines (1:5), not for the hole Mmtrix with 10 lines and 5 columns. => D is right.

    1. Hi Cila,

      yes, you are very right. I should have checked those answers myself. Will update the post. 🙂

Comments are closed.