MATLAB Answers

why wavelet decomposition maximum level wmaxlev instruction returns an imaginary answer?

조회 수: 2(최근 30일)
Hi, when using the instruction wmaxlev(signal,'type of wavelet') the ans is returned imaginary , how can I get rid of it?

  댓글 수: 0

로그인 to comment.

채택된 답변

Wayne King
Wayne King 4 Oct 2016
Can you please show us some example code that does this?
The first input argument to wmaxlev is not the signal, it is the length of the signal or the size of the image
For example, suppose you had a signal of length 1024 and you were using the 'sym4' wavelet.
or imagine you had a 512x512 image
wmaxlev([512 512],'sym4')

  댓글 수: 1

sara authafa
sara authafa 6 Oct 2016
that's right,I found it recently,the reason is giving the first argument as a signal not the length of it,Thank you.

로그인 to comment.

More Answers (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by