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.
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.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

질문:

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