the exp function does not work
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sebastiano delre
am 24 Apr. 2014
Kommentiert: Sebastiano delre
am 24 Apr. 2014
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 Kommentare
Akzeptierte Antwort
per isakson
am 24 Apr. 2014
Bearbeitet: per isakson
am 24 Apr. 2014
>> 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?
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!