function [ SamplesPerChannel ] = SamplesAtSlantRange( SoundSpeed, SlantRange, SampleRate )

% Given the sound speed, slant range and sample rate this routine returns the 
% approximate number of samples per channel for a sidescan system.

SamplesPerChannel = 2 * SlantRange * SampleRate / SoundSpeed;

