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

3 views (last 30 days)
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

Answers (0)

Categories

Find more on Language Fundamentals in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!