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 commentaires

David Hill
David Hill le 5 Avr 2021
Works fine for me.
aaliyan javaid
aaliyan javaid le 5 Avr 2021
aaliyan javaid
aaliyan javaid le 5 Avr 2021
it is giving me this

Connectez-vous pour commenter.

Réponses (1)

Steven Lord
Steven Lord le 5 Avr 2021

0 votes

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 commentaires

aaliyan javaid
aaliyan javaid le 5 Avr 2021
aaliyan javaid
aaliyan javaid le 5 Avr 2021
Modifié(e) : aaliyan javaid le 5 Avr 2021
i have visited this location so i cannot find double folder though there is a m file named as all what should i do now ? and there is no file saved as settings
The - before all in that command is necessary.
which -all settings
/MATLAB/toolbox/matlab/configtools/settings.m

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2017a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by