Develop a Matlab code to simulate the most general form of the perspective projection equation (Eqn 2.15, p. 30; use Eqn 2.17, p. 31).