How do I write this integral?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/887045/image.png)
How do you write this integral and also compute it.
1 commentaire
Star Strider
le 7 Fév 2022
This is actually straightforward, so I’ll provide links to the integral function and to Anonymous Functions.
Those should be everything you need!
Réponses (1)
Prachi Kulkarni
le 17 Fév 2022
Hi,
You can write the integral as follows.
fun = @(x) 13*exp(-((x-pi)/0.0003).^2);
q = integral(fun,0,2*pi)
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!