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!