フィルターのクリア

the exp function does not work

8 ビュー (過去 30 日間)
Sebastiano delre
Sebastiano delre 2014 年 4 月 24 日
コメント済み: Sebastiano delre 2014 年 4 月 24 日
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.

採用された回答

per isakson
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?
  2 件のコメント
Sebastiano delre
Sebastiano delre 2014 年 4 月 24 日
I have restarted matlab and now it works fine...
Sebastiano delre
Sebastiano delre 2014 年 4 月 24 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by