How to add integral in a integral function
3 views (last 30 days)
Show older comments
I need to add an complex integral inside of a integral function like this:
integral(@(x)sin(integral(@(a)sin(a),0,x)),0,1)
However, it turns out to be an error with message: “Limits of integration must be double or single scalars.”
P.S. My function is much complex than 'sin(x)', here just is an example.
How to solve this?
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!