How To Determine Variable Type In Matlab