% Chapter 9: Stability in the Frequency Domain
% CP9.1
%
num=[150]; den=[1 2 15]; sys=tf(num,den);
[Gm,Pm,Wcg,Wcp]=margin(sys);
Gm,Pm  