How can i generate the "Template" for the given plant sets in cde using QFT toolbox?

1 次查看(过去 30 天)
clc;
clear all;
close all;
tic
k=1:0.5:10;
a=1:0.5:5;
w=[.001 .0036 .0126 .0464 .1668 .5995 2.1544]
[K, A] = ndgrid(k, a);
Numerator = num2cell(K(:));
nusz = size(Numerator);
Denominator = num2cell( [ones(nusz), A(:), zeros(nusz)], 2);
tfs = tf(Numerator, Denominator);
for K = 1 : 171; bode(tfs(K)); grid on; hold on
end
[mag,phs,wout] = bode(tfs(K),w);
nompt = 21;
plottmpl(w,tfs,nompt);
time=toc

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by