function [ As,Bs,Cs,Ks,nSystems ] = ExampleCDplayer() % ExampleCDplayer generates a switched system based on the different % channels of the CDplayer model of the SLICOT benchmark collection from % http://slicot.org/20-site/126-benchmark-examples-for-model-reduction % The first subsystem is the second input and first output channel (scaled % by 2e-3). The second subsystem is the first input and the second output % channel (scaled by 5). % The scaling is performed adjust the magnitude of the different channels % % Output arguments: % As: cell array of length 2 containing the A matrices % Bs: cell array of length 2 containing the B matrices % Cs: cell array of length 2 containing the C matrices % Ks: 2 x 2 cell containing transition matrices between % the subsystems (all identity matrices) % nSystems: number of subsystems = 2 % % Required files: % CDplayer.mat % % Authors: % Philipp Schulze, pschulze@math.tu-berlin.de % Benjamin Unger, unger@math.tu-berlin.de % % Version: % 1.0 (January 08, 2018) % load('CDplayer.mat') ; % this file contains the matrices A,B,C n = size(A,1) ; As = {A, A} ; Bs{1} = B(:,2) ; Cs{1} = C(1,:)/2e3 ; Bs{2} = B(:,1) ; Cs{2} = C(2,:)*5 ; Ks = {{speye(n) speye(n)},{speye(n) speye(n)}} ; nSystems = 2 ; end