Why is my array sending data back in E notation?

So I'm brand new to MatLab and still getting a feel for things. I am trying to make a basic array with equations and whenever I put in anything multiplied by 10^3 or greater it kicks back the entire array in E notation. It works fine when I remove any 10s. Is there a setting I need to change or do I need to put in a different way?
a=[sqrt(5.2^3),6.71*10^3,(3*5.1^2)*cosd(53)]
a = 1×3
1.0e+03 * 0.0119 6.7100 0.0470

 採用された回答

Matt J
Matt J 2022 年 1 月 23 日
編集済み: Matt J 2022 年 1 月 23 日

1 投票

That's just the way Matlab displays things by default in the command window . There are other styles which you can set using the format() command,

1 件のコメント

Connor Lance
Connor Lance 2022 年 1 月 23 日
Much appreciated, thank you.

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

その他の回答 (0 件)

カテゴリ

製品

リリース

R2021b

質問済み:

2022 年 1 月 23 日

コメント済み:

2022 年 1 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by