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

Answers (2)

Give the command
format long g
and then look at your results again. Do you still observe the "rounding" ?

3 Comments

yes. i think
[ca,ch,cv,cd]=dwt2(a,'mode');
this build in function has rounding by default. is it possible?
Please show an example of the rounding you observe and the value you expect.
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.

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

Asked:

on 24 Aug 2015

Commented:

on 10 Nov 2015

Community Treasure Hunt

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

Start Hunting!