blk2strc.m
来自「线性时变系统控制器设计的工具包」· M 代码 · 共 35 行
M
35 行
% 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 + =
减小字号Ctrl + -
显示快捷键?