Invalid Expression "3.57e2.1"

Just started learning MatLab, wondering why this command "3.57e2.1" or any decimal in the second number brings back an invalid expression error. Sorry for the basic question. Thanks

3 件のコメント

madhan ravi
madhan ravi 2020 年 6 月 11 日
What do you want e2.1 to represent?
KSSV
KSSV 2020 年 6 月 11 日
e power integers are allowed.
Andrew Stepp
Andrew Stepp 2020 年 6 月 11 日
I'm wanting to simplify 3.57*(10^2.1)

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

回答 (2 件)

madhan ravi
madhan ravi 2020 年 6 月 11 日

1 投票

You can’t use a decimal value for scientific notation.

1 件のコメント

Andrew Stepp
Andrew Stepp 2020 年 6 月 11 日
Interesting, thanks

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

Star Strider
Star Strider 2020 年 6 月 11 日

1 投票

You can certainly calculate it:
3.57*(10^2.1)
evaluated as:
4.494363720105178e+02
however you must do it as you wrote it, or as it is evaluated.

カテゴリ

製品

質問済み:

2020 年 6 月 11 日

回答済み:

2020 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by