The infrared spectrum of ammonia isolated in argon and nitrogen matrices