MathWorks interview question

How do you determine a variable type in Matlab?

Interview Answers

Anonymous

17 Nov 2011

use the 'class' function

Anonymous

9 Apr 2013

I would use the whos function instead. It's more informative.