Numerical study of electronic transport in gated graphene ribbons