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
2020-6-11
What do you want e2.1 to represent?
KSSV
2020-6-11
e power integers are allowed.
Andrew Stepp
2020-6-11
回答(2 个)
Star Strider
2020-6-11
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!