Filter löschen
Filter löschen

How do I find the integral of the modulus of a transfer function over all frequencies?

10 Ansichten (letzte 30 Tage)
How do I find the integral of the modulus of a transfer function over all frequencies? (Assume the TF is band-limited, thus result is finite)
  1 Kommentar
Aravindakshan S
Aravindakshan S am 3 Okt. 2018
Bearbeitet: Aravindakshan S am 3 Okt. 2018
Suppose I have a TF 1/(1+s/omega_p). And I want to find integral of its magnitude from omega_p to -omega_p. The result would mathematically be ln((3+2*2^0.5)). Here s is the Laplace transform variable(eq ual to j*omega) in case that wasn't clear .

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Aravindakshan S
Aravindakshan S am 3 Okt. 2018
Ok I got it. There is a function called evalfr to find frequency response of the TF at a given frequency. Create an array of omega,then create the frequency response array using evalfr. Then take the abs value of it and integrate w.r.t omega.

Weitere Antworten (1)

ANKUR KUMAR
ANKUR KUMAR am 3 Okt. 2018
Since you have not provided your equation, I am giving an random example,
fun = @(x) exp(x.^2).*log(x).^2;
q = integral(fun,0,10)
hope it helps.

Community Treasure Hunt

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

Start Hunting!

Translated by