MATLAB Answers

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

4 ビュー (過去 30 日間)
sara authafa
sara authafa 2016 年 10 月 2 日
コメント済み: sara authafa 2016 年 10 月 6 日
Hi, when using the instruction wmaxlev(signal,'type of wavelet') the ans is returned imaginary , how can I get rid of it?

採用された回答

Wayne King
Wayne King 2016 年 10 月 4 日
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.
wmaxlev(1024,'sym4')
or imagine you had a 512x512 image
wmaxlev([512 512],'sym4')
  1 件のコメント
sara authafa
sara authafa 2016 年 10 月 6 日
that's right,I found it recently,the reason is giving the first argument as a signal not the length of it,Thank you.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by