What is the function used to multiply a matrix, A, with itself n times?
(a) mtimes(A,n)
(b) ntimes(A,n)
(c) mtimes(n,A)
(d) mtimes(A^n)
I have been asked this question during an interview for a job.
Enquiry is from Vectors and Matrices in chapter MATLAB Basics of MATLAB