How can i use limit function and my function ?
显示 更早的评论
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
回答(1 个)
Torsten
2017-3-8
0 个投票
f=@(x)exp(1)
Best wishes
Torsten.
3 个评论
Goktug Guvercin
2017-3-8
编辑:Goktug Guvercin
2017-3-8
Goktug Guvercin
2017-3-8
Torsten
2017-3-8
Maybe
syms x
fs = (1+1/x)^x ;
lfs = limit(fs,x,inf);
hfs = matlabFunction(lfs)
?
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Installing Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!