I'm working on a simulation in which I need to simulate what a camera will see given a specific position and attitude. I've been able to do this with all the built in features using things like campos() and what not. However now I need to adjust MATLAB's "camera" to see with the same field of view as the one I'm trying to simulate. camva() almost does the trick, however it can only adjust for one angle, thus producing a "square" field of view.
I need to adjust both the camera's vertical and horizontal view angles (as the camera I am trying to simulate has a horizontal field of view of 120 degrees, and a vertical field of view of 30 degrees). Is this possible and how might I go about doing this?