How can i use limit function and my function ?
Ältere Kommentare anzeigen
I want to define a function which gives me limit of (1 + 1/x)^x when x goes to infinity. However, the function must be user defined function. In other words, i want to match limit function and my function
Antworten (1)
Torsten
am 8 Mär. 2017
0 Stimmen
f=@(x)exp(1)
Best wishes
Torsten.
3 Kommentare
Goktug Guvercin
am 8 Mär. 2017
Bearbeitet: Goktug Guvercin
am 8 Mär. 2017
Goktug Guvercin
am 8 Mär. 2017
Torsten
am 8 Mär. 2017
Maybe
syms x
fs = (1+1/x)^x ;
lfs = limit(fs,x,inf);
hfs = matlabFunction(lfs)
?
Best wishes
Torsten.
Kategorien
Mehr zu Installing Products finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!