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

2 views (last 30 days)
due to rounding i am losing some value.can i compensate it in any way?

Answers (2)

Walter Roberson
Walter Roberson on 24 Aug 2015
Give the command
format long g
and then look at your results again. Do you still observe the "rounding" ?
  3 Comments
anika hossain
anika hossain on 25 Aug 2015
Edited: anika hossain on 25 Aug 2015
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...

Sign in to comment.


Maram Sharahili
Maram Sharahili on 10 Nov 2015
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

Categories

Find more on Wavelet Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!