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

Respuestas (2)

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

3 comentarios

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...

Iniciar sesión para comentar.

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

Categorías

Más información sobre Wavelet Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 24 de Ag. de 2015

Comentada:

el 10 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by