too many output arguments
Show older comments
I am trying to integrate the following expression but MATLAB gives the error of too many output arguments. Kindly below, I have written the code. Thanks .
syms y;
k = 3;
fun = y^((1+1/k)-1)*(exp(-y));
e = int(fun,y,1,3)
3 Comments
David Hill
on 5 Apr 2021
Works fine for me.
aaliyan javaid
on 5 Apr 2021
aaliyan javaid
on 5 Apr 2021
Answers (1)
Steven Lord
on 5 Apr 2021
You likely have a settings function that is taking precedence over the settings function. To confirm this, run the following command. If it lists a function you've written, please rename that function.
which -all settings
3 Comments
aaliyan javaid
on 5 Apr 2021
aaliyan javaid
on 5 Apr 2021
Edited: aaliyan javaid
on 5 Apr 2021
The - before all in that command is necessary.
which -all settings
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
