USING MATLAB TO COMPUTE MAGNITUDE AND PHASE INFORMATION
MATLAB commands required to display magnitude
and phase as function of frequency
NOTE: Instead of comma (,) one can use space to
separate numbers in the array
EXAMPLE
» num=[15*2.53*1e-3,0];
» den=[0.1*2.53*1e-3,15*2.53*1e-3,1];
» freqs(num,den)
Missing coefficients must
be entered as zeros
» num=[15*2.53*1e-3 0];
» den=[0.1*2.53*1e-3 15*2.53*1e-3 1];
» freqs(num,den)
This sequence will also
work. Must be careful not
to insert blanks elsewhere