extract num and den from matrix transfer function
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
madhan ravi
2020-8-6
编辑:madhan ravi
2020-8-6
Use it inside the loops, preallocation is recommended for the variables.
4 个评论
madhan ravi
2020-8-6
编辑:madhan ravi
2020-8-6
Without knowing the missing variables , can’t help further.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!