How do I write this integral?

3 visualizaciones (últimos 30 días)
Sara Westerlund
Sara Westerlund el 7 de Feb. de 2022
Respondida: Prachi Kulkarni el 17 de Feb. de 2022
How do you write this integral and also compute it.
  1 comentario
Star Strider
Star Strider el 7 de Feb. de 2022
This is actually straightforward, so I’ll provide links to the integral function and to Anonymous Functions.
Those should be everything you need!

Iniciar sesión para comentar.

Respuestas (1)

Prachi Kulkarni
Prachi Kulkarni el 17 de Feb. de 2022
Hi,
You can write the integral as follows.
fun = @(x) 13*exp(-((x-pi)/0.0003).^2);
q = integral(fun,0,2*pi)

Categorías

Más información sobre Networks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by