% plot_RaisedCosPulse - plot a number of Raised Cosine Pulses

L   = 10;
fsT = 20;

tt = ( 0 : L*fsT-1 ) / fsT;
plot( tt, RaisedCosPulse( L, fsT, 0 ), ...
      tt, RaisedCosPulse( L, fsT, 0.3 ), ...
      tt, RaisedCosPulse( L, fsT, 0.5 ), ...
      tt, RaisedCosPulse( L, fsT, 1.0 ) );
grid
axis( [0 L -0.5 1.5])
legend('\beta=0', '\beta=0.3', '\beta=0.5', '\beta=1');
xlabel('Time/T')

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