How to code "e" by itself in equation e-1?

4 ビュー (過去 30 日間)
Kristine
Kristine 2022 年 7 月 24 日
回答済み: Steven Lord 2022 年 7 月 24 日
How do I code for an equation just using e-1?
  1 件のコメント
Torsten
Torsten 2022 年 7 月 24 日
編集済み: Torsten 2022 年 7 月 24 日
e is coded as exp(1)

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

採用された回答

Matt J
Matt J 2022 年 7 月 24 日
編集済み: Matt J 2022 年 7 月 24 日
e=exp(+1)

その他の回答 (1 件)

Steven Lord
Steven Lord 2022 年 7 月 24 日
@Torsten and @Matt J are correct to suggest the exp function, but if the quantity x/a can be very small you might also want to look at the expm1 function.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by