Where did you get this idea from?
Movies. On second thought, there was some submarine against submarine battle in Red October... most other submarine wartime movies were from WWII, always shooting at boats and at periscope level to aim.
Oh, and speaking about wars, relevant nick :-)
Where did you get this idea from? Submarines can launch torpedoes at whatever depth the torpedo itself can operate at.