Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem with simple multiple

1 回表示 (過去 30 日間)
Dani D
Dani D 2017 年 9 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I have one varible A = 1000 and S = 0.1 Now multiple A*S expected 100 But result A*S is 900
  2 件のコメント
José-Luis
José-Luis 2017 年 9 月 7 日
Please show your code. A and S might not be what you think they are.
James Tursa
James Tursa 2017 年 9 月 7 日
Uh, no. If you set A = 1000 and S = 0.1, then A*S will be 100 (or very close since 0.1 can't be represented exactly). So you are doing something wrong or there is something else about your code that you are not telling us. Show us the exact code you are using to get this result.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by