extract num and den from matrix transfer function
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to use numerator and denominator (N,D) of the output transfer function yv. where yv is 16 tranfer functions. i want to see N and D and use them in another process.
for i=1:4
for j=1:4
gvi(i,j)=tf(N(i,:),D(j,:))
yv(i,j)=series(yc,gvi(i,j))
end
end
[N,D]= tfdata(yv)%%%% this line doesn't show the content of N and D
0 commentaires
Réponses (1)
madhan ravi
le 6 Août 2020
Modifié(e) : madhan ravi
le 6 Août 2020
Use it inside the loops, preallocation is recommended for the variables.
4 commentaires
madhan ravi
le 6 Août 2020
Modifié(e) : madhan ravi
le 6 Août 2020
Without knowing the missing variables , can’t help further.
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements 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!