smart bike motor control analysis using matlab