필터 지우기
필터 지우기

i want to get the overall transfer function of the parallel conncected transfer functions blocks

조회 수: 4 (최근 30일)
num1=[576 288];
den1=[4.8 34.992 73.392 1504.8];
num2=[57.6 230.4 -288];
den2=[249.831 1938.651 1742.688 -8162.8476 -11905.033 -241];
num3=[167.40 837.04];
den3=[57.708 179.307 1921.539 3712.548 1662.54];
>> [num,den]=parallel(num1,den1,num2,den2,num3,den3);
and iam getting this error Error using parallel (line 158)
Wrong number of input arguments for obsolete matrix-based syntax.

채택된 답변

Sam Chak
Sam Chak 2024년 3월 31일
Hi @deekshith, Check if this works for you.
%% Transfer function 1
num1=[576 288];
den1=[4.8 34.992 73.392 1504.8];
G1 = tf(num1, den1)
%% Transfer function 2
num2=[57.6 230.4 -288];
den2=[249.831 1938.651 1742.688 -8162.8476 -11905.033 -241];
G2 = tf(num2, den2)
%% Transfer function 3
num3=[167.40 837.04];
den3=[57.708 179.307 1921.539 3712.548 1662.54];
G3 = tf(num3, den3)
%% Transfer functions in parallel
G = parallel(parallel(G1, G2), G3)
G = minreal(G)
  댓글 수: 5
deekshith
deekshith 2024년 3월 31일
%% Transfer function 1
num1=[576 288];
den1=[4.8 34.992 73.392 1504.8];
G1 = tf(num1, den1)
%% Transfer function 2
num2=[57.6 230.4 -288];
den2=[249.831 1938.651 1742.688 -8162.8476 -11905.033 -241];
G2 = tf(num2, den2)
%% Transfer function 3
num3=[167.40 837.04];
den3=[57.708 179.307 1921.539 3712.548 1662.54];
G3 = tf(num3, den3)
%% Transfer functions in parallel
G = parallel(parallel(G1, G2), G3)
G = minreal(G)
by using this code i got the answer but while iam entering the denominator values i'm getting error
deekshith
deekshith 2024년 3월 31일
but iam getting error in the transfer block in simlink model while apply the denominator values

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

추가 답변 (1개)

Sam Chak
Sam Chak 2024년 3월 31일
@deekshith, Oh I see. Because you left the spaces. Either you ensure no spaces, or place commas (,) between the elements.

카테고리

Help CenterFile Exchange에서 Discontinuities에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by