is bulid in dwt function of matlab round the result? if so,is there any way to change that?

조회 수: 2 (최근 30일)
due to rounding i am losing some value.can i compensate it in any way?

답변 (2개)

Walter Roberson
Walter Roberson 2015년 8월 24일
Give the command
format long g
and then look at your results again. Do you still observe the "rounding" ?
  댓글 수: 3
Walter Roberson
Walter Roberson 2015년 8월 24일
Please show an example of the rounding you observe and the value you expect.
anika hossain
anika hossain 2015년 8월 25일
편집: anika hossain 2015년 8월 25일
it makes .65 to 1,-.35 to 0 and many more. the most changing value is 0,after that small negative numbers.u can easily understand for a image if it is destroying 0 value that is black,then i am in big trouble...

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


Maram Sharahili
Maram Sharahili 2015년 11월 10일
use the built_in matlab function for the secant algorithm to find the root of x-2^-x on [0,1] accurate to within 10^-4

카테고리

Help CenterFile Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by