qftdefs.m

来自「刘金琨老师作品」· M 代码 · 共 51 行

M
51
字号
function defs = qftdefs
% QFTDEFS  User-defined QFT Toolbox default values.
%
%          The purpose of this file is to allow the user to change defaults
%          related to bound computations and the shaping environment.
%
%          Use your text editor to change the values within this file for
%          default values which you wish to customize.

% Author: Craig Borghesani
% 10/1/94
% Copyright (c) 1995-98 by The MathWorks, Inc.
%       $Revision: 1.4 $

% Phase vector (must be between -360 and 0 degrees)
% default = [0 : -5 : -360]

min_phase = -360;  % minimum phase value
max_phase =    0;  % maximum phase value
phase_res =   -5;  % phase resolution

% Nominal plant and controller indices
% default = [1, 1]

plant_index      = 1;
controller_index = 1;

% Controller type (specify which controller is UNKNOWN in the loop)
% 1 = G
% 2 = H
% default = 1

controller_type = 1;

% Frequency vector (used in shaping environments)
% values are in powers of 10
% default = logspace(-2,3,100)

min_w =   -2;
max_w =    3;
w_len =  100;

%
% END OF DEFAULT SECTION
%

defs = [max_phase, phase_res, min_phase;
        plant_index, controller_index, 0;
        controller_type, 0, 0;
        min_w, max_w, w_len];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?