how to write a function that contains a integration?

4 次查看(过去 30 天)
how to write above equation in matlab here rho(E) is constant

回答(1 个)

Star Strider
Star Strider 2016-4-4
See the documentation for the integral function. (If you have an earlier version that does not have integral, use the quad function and its friends.)
For help on writing the function to use with it, see the documentation on Function Basics.

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by