Matlab implicit conversion handled