integral command with function handle
1 view (last 30 days)
Show older comments
Why do I get an error message with the following piece of script? Everything seems OK (I use R2014a by the way)
func=@(x) exp(x^2)/(x^0.5)
func =
@(x)exp(x^2)/(x^0.5)
>> integral(func,0,1)
Error using integral
Too many input arguments.
>>
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!