§Example 2: Consider a two-by-two transfer matrix
•
•        
•
• A state-space realization of G can be obtained by using the following MATLAB commands:
• >>G11=nd2sys([10,10],[1,0.2,100]);
• >>G12=nd2sys(1,[1,1]);
• >>G21=nd2sys([1,2],[1,0.1,10]);
• >>G22=nd2sys([5,5],[1,5,6]);
• >>G=sbs(abv(G11,G21),abv(G12,G22));  
• Next, we setup a frequency grid to compute the frequency response of G and the singular values of G(jw) over a suitable range of frequency.
w >>w = logspace(0,2,200);  % 200 points between 1=100 and 100=102;
w >>Gf=frsp(G,w); % computing frequency response;