📄 blk2strc.m
字号:
% this fuction converts a delta block discription blk defined for use% with mu.m into a scale block discription for use with the lmi solvers% and specifically the funtions lmi1.m and lmi2.m%% struct=blk2strc(blk);% Written by: Lt Paul Blue% WL/FIGC-3 Bldg 146% 2210 Eighth Street Suite 21% Wright-Patterson AFB OH 45433-7531%% e-mail: blue@falcon.flight.wpafb.af.mil% ph: (513) 255-8683%% Copyright (c) 1996, All Rights Reservedfunction struct=blk2strc(blk)blk=abs(blk);[r,c]=size(blk);struct=zeros(r,c); % initializefor k=1:r blk_k1=blk(k,1); blk_k2=blk(k,2); struct(k,1)=blk_k1; if(blk_k2==0 | blk_k2==1) struct(k,2)=1; else struct(k,2)=0; endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -