the exp function does not work
9 次查看(过去 30 天)
显示 更早的评论
It may look like a simple problem but I cannot get my way through. When using exp(2), I get an "Index exceeds matrix dimensions" error. I have always used the exp function, why now I get this error?
Thank you for your help, Alessio.
0 个评论
采纳的回答
per isakson
2014-4-24
编辑:per isakson
2014-4-24
>> exp(2)
ans =
7.3891
I guess exp is "shadowed" on your system. Run
>> which exp
built-in (C:\Program Files\MATLAB\R2013a\toolbox\matlab\elfun\@double\exp) % double
What do you get?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!