convert idtf data format to tf data format
47 次查看(过去 30 天)
显示 更早的评论
Hi
Can I convert idtf data format to tf data format ?
Andrew
0 个评论
回答(1 个)
Devineni Aslesha
2019-8-2
编辑:Devineni Aslesha
2019-8-7
I am assuming that you generated a transfer function using idtf command as shown below.
num = [1 4];
den = [1 20 5];
sys = idtf(num,den);
The following command can be used to convert idtf data format to tf data format.
[num, den] = tfdata(sys)
As the output is obtained in cell array format, use num{1} to get the numerator coefficients and use den{1} to get the denominator coefficients.
Refer to the below link for more information.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transfer Function Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!