Starting with the DE :
So the response function is :
Then the amplitude and phase responses are found separately from
and
respectively.
Example
A certain bandpass filter is described by the DE :
Then the frequency response is :
Now we can tediously expand this (or use MATLAB Symbolic Toolbox ?) to write
in the form
where
and
are the amplitude and phase response
of the system.