Effacer les filtres
Effacer les filtres

Discrete - time system

1 vue (au cours des 30 derniers jours)
Cesar Cardenas
Cesar Cardenas le 31 Août 2022
Hello, How can add N = 100, N = 50 for length N as stated in the image below? this is my attempt but not sure how add this or modify it?
Any help will be greatly appreciated. Thanks
sys = tf(ones(1,1,1,5));
W0 = 0:0.5:1; % natural frequencies
zeta = 0.5; % damping constant
for i = 1:length(W0)
sys(:,:,1,i) = tf(w0(i)^2,[1 2*zeta*w0(i) w0(i)^2]);
end
[u,t] = gensig("square",5,20);
lsim(sys,u,t)

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by