Réponse acceptée

Torsten
Torsten le 15 Fév 2022
Modifié(e) : Torsten le 15 Fév 2022
Use "vpaintegral" instead of "int":
syms x
expr(x) = sin(x)/x*exp(-3*x^2+i*x);
I = vpaintegral(expr,-10,10)
or directly
syms x
expr = sin(x)/x*exp(-3*x^2+i*x);
I = int(expr,-Inf,Inf)

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by