square root of a transfer function

조회 수: 9 (최근 30일)
aaa
aaa 2012년 6월 23일
Hi,
I am trying to find the magnitude of my system 'sys', so i know i have to take the square root of a transfer function in my code. I know that you cannot do it directly, so what I tried to do was
[mag phase] = bode(sys,logspace(1,1e7,300));
mag = squeeze(mag);
D = sqrt(mag);
I have another transfer function sys2, which I would like to divide with this magnitude value, but MATLAB doesn't seem to quite like this. How would I be able to take my result D and change it back to a transfer function so that I can do the division sys2/D?
Thanks for your time.
  댓글 수: 1
Craig
Craig 2012년 7월 20일
Are you trying to compute an array of transfer functions?
For example
sys2/D(1)
sys2/D(2)
etc.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by