Complex transfer function, 's' to 'jw' conversion
조회 수: 13 (최근 30일)
이전 댓글 표시
Hi,
I have a big size transfer function in S-domain and I need to replace the 's' with 'jw' in that function (conver s to complex mode). Can anyone help me?
댓글 수: 2
lounis chehrit
2021년 6월 8일
what about a signal which is for example:
Real(X(s))=34cos(2*pi*s/20) + 2cos(4*pi*s)
Imag(X(s))=21 sin(2*pi*s/3) + 20 sin(15*pi*s/12)
how can i find the transfer function? without the complex J.
And how can i compute the laplace inv without errors please ?
답변 (1개)
Azzi Abdelmalek
2013년 6월 9일
편집: Azzi Abdelmalek
2013년 6월 9일
If you have the transfer function G, you can get the numerator and denominator by using getdata function, then use this code
w=-10:0.1:10 % Frequency vector
N=[1 2] % Transfer function numerator
D=[1 3 2] % Transfer function Denominator
syms w
g=poly2sym(N,i*w)/poly2sym(D,i*w)
w=-10:0.1:10
h=double(subs(g))
plot(abs(h))
댓글 수: 3
Victor Manuel Chan Ortiz
2020년 4월 3일
You can do:
g=poly2sym(N,s)/poly2sym(D,s);
g=subs(g,s,w*1i)
And replace w with the value that you need
lounis chehrit
2021년 6월 8일
what about a signal which is for example:
Real(X(s))=34cos(2*pi*s/20) + 2cos(4*pi*s)
Imag(X(s))=21 sin(2*pi*s/3) + 20 sin(15*pi*s/12)
how can i find the transfer function? without the complex J.
And how can i compute the laplace inv without errors please ?
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!