I tried to write a matlab script for the computation of this transfer function but I keep receving an error message saying that the exponent must a scalar integer.
How can I overcome this issue?
Thank you in advance.
In the following is reported the piece of code in question
s=tf('s');
v=20;
a=5;
denom=0;
for k=1:v
denom=denom+((s/a)^((k-1)/v));
end
C=1/denom;

댓글 수: 2

Bandar
Bandar 2019년 12월 15일
Transfer function must be a ratio of polynomails but this is not the case in your question.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2019년 12월 14일

댓글:

2020년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by