integral command with function handle
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ali Kiral
am 11 Dez. 2022
Kommentiert: Ali Kiral
am 11 Dez. 2022
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!