% plot_BuildingsImpResponse - plot impulse response from ray data

% load data
load PropData;       % loads PropData structure

subplot(2,1,1)
stem( PropData.Delay/1e3, ... % delays are in ns, plot in microseconds
    abs(PropData.Field'))
xlabel( 'Delay (\mus)')
ylabel( 'Attenuation')
grid

subplot(2,1,2)
stem( PropData.Delay/1e3, ... % delays are in ns, plot in microseconds
    angle(PropData.Field/pi))
xlabel( 'Delay (\mus)')
ylabel( 'Phase Shift/\pi')
grid

%% Store name of script for automated figure generation
ScriptName = mfilename;
