Approximating /transforming /absolute error

조회 수: 3(최근 30일)
Opariuc Andrei
Opariuc Andrei 2020년 10월 27일
댓글: Alan Stevens 2020년 10월 28일
input data
the result is 6.6315e-04 , how do i transform /aproximate/etc the result on the left to 0.00066 ? I ran a conversion to decimal using Symbolab (website) and the exact result of the conversion is 0.00066315 .

채택된 답변

Alan Stevens
Alan Stevens 2020년 10월 27일
For display purposes you can use fprintf:
>> r=3;h=8;Dv=0.1;
fprintf('%0.2g \n',Dr)
  댓글 수: 7
Alan Stevens
Alan Stevens 2020년 10월 28일
You're welcome. Note that I've suggested a very simplistic approach. A more advanced approach might involve a Monte-Carlo simulation and/or allow different tolerances on each of A, B etc.

댓글을 달려면 로그인하십시오.

추가 답변(0개)




Community Treasure Hunt

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

Start Hunting!

Translated by