Help in integration in MATLAB?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ali Almakhmari
am 26 Okt. 2023
Kommentiert: John D'Errico
am 26 Okt. 2023
syms w
L = (5.*(i.*w).^5 - 170.*(i.*w).^3 + 1125.*(i.*w))./(5.*(i.*w).^7 + 7.5.*(i.*w).^6 - 170.*(i.*w).^5 - 255.*(i.*w).^4 + 1125.*(i.*w).^3 + 1688.*(i.*w).^2);
S = 1./(1 + L);
int(log(abs(S)),[0 inf])
I need to integrate the log of the absolute value of S (w being the variable) from 0 to infinity. But MATLAB cannot do it, anyways to approximate this integral in MATLAB or any other approaches?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 26 Okt. 2023
syms w
L = (5.*(i.*w).^5 - 170.*(i.*w).^3 + 1125.*(i.*w))./(5.*(i.*w).^7 + 7.5.*(i.*w).^6 - 170.*(i.*w).^5 - 255.*(i.*w).^4 + 1125.*(i.*w).^3 + 1688.*(i.*w).^2);
S = 1./(1 + L);
LaS = simplify(log(abs(S)), 500);
IntLaS = int(LaS,[0 Inf])
IntS = vpaintegral(log(abs(S)),[0 inf])
It probably does not have an analytic (symbolic) solution.
.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!