Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem with simple multiple

1 Ansicht (letzte 30 Tage)
Dani D
Dani D am 7 Sep. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello, I have one varible A = 1000 and S = 0.1 Now multiple A*S expected 100 But result A*S is 900
  2 Kommentare
José-Luis
José-Luis am 7 Sep. 2017
Please show your code. A and S might not be what you think they are.
James Tursa
James Tursa am 7 Sep. 2017
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.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by