Non-Rational Rogue Waves Induced by Inhomogeneity