function dr = drawschematic(x0,y0,dx,ds,F,dc);             
%  drawschematic.m                                           
%  Realization generated from the drawing window of the toolbox 
%                                                               
%      DrawFilt version 2.5  ---  Drawing Filter Realizations   
%                                                               
%   Authors: Miroslav D. Lutovac, Dejan V. Tosic    
%   Email: lutovac@iritel.bg.ac.yu      http://galeb.etf.bg.ac.yu/~lutovac/
%   Email: tosic@galeb.etf.bg.ac.yu     http://www.rcub.bg.ac.yu/~tosicde/
%   Copyright (c) 1999-2001 by Lutovac & Tosic                   
%   $Revision: 2.01 $  $Date: 2001/12/24$                  
%                                                                
%   See also:                                                    
%   Miroslav D. Lutovac, Dejan V. Tosic, Brian L. Evans          
%        Filter Design for Signal Processing                     
%           Using MATLAB and Mathematica                         
%        Prentice Hall - ISBN 0-201-36130-2                      
%         http://www.prenhall.com/lutovac                        
%                                                                
% call   drawschematic(0,0,4,5,8,'k')                      
% call   drawschematic                                       
% creation date: 31-Jan-2005  time: 3:38
%                                                                
mydrawDrawFiltLutovacTosic = '2p5'; % don't edit this line
narginmydraw = nargin;
if narginmydraw ~= 6, x0=0; y0=0; dx=4; ds=5; F=8; dc='k'; end,
Nx = 100; Ny = 100; whitebg(figure(gcf),[1 1 1]); 
x = (1:4*Nx)*dx/4 + x0; y = (1:4*Ny)*dx/4 + y0;
drawin(x(5), y(10), 'x',2,ds,F,dc);                                  
drawout(x(27), y(10), 'y',0,ds,F,dc);                                
drawadd(x(5), y(10), 2, 1, 1, 1, ' ', 1, ds/3, F, dc);               
drawadd(x(17), y(10), 2, 1, 1, 1, ' ', 1, ds/3, F, dc);              
drawblo(x(7), y(10), x(11), ' ', '\omega_1/s' ,0, 0.7*ds, F, dc);      
drawblo(x(11), y(10), x(15), ' ', '\omega_1/s' ,0, 0.7*ds, F, dc);     
drawblo(x(19), y(10), x(23), ' ', '\omega_2/s' ,0, 0.7*ds, F, dc);     
drawblo(x(23), y(10), x(27), ' ', '\omega_2/s' ,0, 0.7*ds, F, dc);     
drawmult(x(6), y(13), x(15), ' ' , '-1',2, ds/2, F, dc);             
drawmult(x(6), y(7), x(11), ' ' , '-1/Q_1',2, ds/2, F, dc);          
drawmult(x(18), y(7), x(23), ' ' , '-1/Q_2',2, ds/2, F, dc);         
drawmult(x(18), y(13), x(27), ' ' , '-1',2, ds/2, F, dc);            
drawline(x(11), y(10), x(11), y(7),dc);                              
drawline(x(15), y(10), x(15), y(13),dc);                             
drawline(x(6), y(7), x(6), y(9),dc);                                 
drawline(x(6), y(13), x(6), y(11),dc);                               
drawline(x(15), y(10), x(17), y(10),dc);                             
drawline(x(23), y(10), x(23), y(7),dc);                              
drawline(x(18), y(7), x(18), y(9),dc);                               
drawline(x(27), y(10), x(27), y(13),dc);                             
drawline(x(18), y(13), x(18), y(11),dc);                             
axis('equal')
axis('off')
