필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problem with simple multiple

조회 수: 2 (최근 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