% script to generate log-log plot
% AOE 3034 HW Set1, Prob 1
%
% generate a log - log plot of
% |F(j * omega)| for the the complex-valued function
% F(s) = 1 / (s+5)
%
om = logspace(-1,3);            % generate logarthmically spaced omega values
mF = 1./sqrt(om.*om + 25); % compute the modulus values
%
loglog(om,mF,'r')        % generate the log-log plot
grid                            % add the grid
xlabel('Omega')         % label the x-axis
ylabel('|F(j omega)|')  % label the x-axis
title('Log - log modulus plot for F(s) = 1 / (s+5)') 
%
