= getString(message('Control:compDesignTask:msgAddedComplexZeros',...
            CompID,DomainVar,sprintf('%.3g %s %.3gi',real(R),'+/-',0)));
        Action = getString(message('Control:compDesignTask:strAddZeros'));
    else
        Poles = [R;R];  Zeros = zeros(0,1);
        Status = getString(message('Control:compDesignTask:msgAddedComplexPoles',...
            CompID,DomainVar,sprintf('%.3g %s %.3gi',real(R),'+/-',0)));
        Action = getString(message('Control:compDesignTask:strAddPoles'));
    end

    
case 'Lead'
    % Lead network (s+tau1)/(s+tau2)  tau1<tau2
    Zeros = LocalRootValue(-X/1.5,Ts);
    Poles = LocalRootValue(-X,Ts);
    GroupType = 'LeadLag';
    Status = getString(message('Control:compDesignTask:msgAddedLead',...
        CompID,DomainVar,sprintf('%.3g',Zeros),DomainVar,sprintf('%.3g',Poles)));
    Action = getString(message('Control:compDesignTask:strAddLead'));
    
case 'Lag'
    % Lag network (s+tau1)/(s+tau2)  tau1>tau2
    Zeros = LocalRootValue(-1.5*X,Ts);
    Poles = LocalRootValue(-X,Ts);
    GroupType = 'LeadLag';
    Status = getString(message('Control:compDesignTask:msgAddedLag',...
        CompID,DomainVar,sprintf('%.3g',Zeros),DomainVar,sprintf('%.3g',Poles)));
    Action = getString(message('Control:compDesignTask:strAddLag'));

case 'Notch'
    % Notch filter: default is zeta1=0.05,zeta2=0.5 (1/2 max width and 20dB depth)
    z1 = 0.05;   z2 = 0.5;
    r1 = X * (-z1 + 1i*sqrt(1-z1^2));
    r2 = X * (-z2 + 1i*sqrt(1-z2^2));
    Zeros = LocalRootValue([r1;conj(r1)],Ts);//=--------------------------------------------------------------------------=
// MSStkPPg.H
//=--------------------------------------------------------------------------=
// Copyright  1995  Microsoft Corporation.  All Rights Reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
// PARTICULAR PURPOSE.
//=--------------------------------------------------------------------------=
//
// class declaration for msprop32's property pages.
//
#ifndef _MS_STOCK_PROP_PAGES_H_

#include <winapifamily.h>

#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)

// {7EBDAAE0-8120-11cf-899F-00AA00688B10}
DEFINE_GUID(CLSID_StockFontPage, 0x7ebdaae0, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10);

// {7EBDAAE1-8120-11cf-899F-00AA00688B10}
DEFINE_GUID(CLSID_StockColorPage, 0x7ebdaae1, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10);

// {7EBDAAE2-8120-11cf-899F-00AA00688B10}
DEFINE_GUID(CLSID_StockPicturePage, 0x7ebdaae2, 0x8120, 0x11cf, 0x89, 0x9f, 0x0, 0xaa, 0x0, 0x68, 0x8b, 0x10);


#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion

#define _MS_STOCK_PROP_PAGES_H_
#endif // _MS_STOCK_PROP_PAGES_H_
