N matrix