How do I write this integral?
Mostra commenti meno recenti

How do you write this integral and also compute it.
1 Commento
Star Strider
il 7 Feb 2022
This is actually straightforward, so I’ll provide links to the integral function and to Anonymous Functions.
Those should be everything you need!
Risposte (1)
Prachi Kulkarni
il 17 Feb 2022
Hi,
You can write the integral as follows.
fun = @(x) 13*exp(-((x-pi)/0.0003).^2);
q = integral(fun,0,2*pi)
Categorie
Scopri di più su Numerical Integration and Differentiation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!