Harmonic Analysis using wavelet

4 ビュー (過去 30 日間)
Ayman Esmat
Ayman Esmat 2012 年 5 月 19 日
コメント済み: Ahmad Aldiab 2024 年 4 月 17 日
Hello everybody, I'm studying harmonic analysis in an electric grid I designed on simulink. I only know one way to do that, which is by FFT (Fast fourier transform) which can be done from the power gui block.
I was wondering if anyone know who can I study harmonic analysis using wavelets in simulink, I can't find any way to do that. (I can't find any tool box for it)
N.B: I'm working on Matlab 2011..
Thanks,,,

採用された回答

Wayne King
Wayne King 2012 年 5 月 19 日
DSP System toolbox has dwt block to do the critically-sampled discrete wavelet transform. But no blocks for the nondecimated or CWT.
  2 件のコメント
Ayman Esmat
Ayman Esmat 2012 年 5 月 19 日
where can I find that?!
Thanks again,
Wayne King
Wayne King 2012 年 5 月 19 日
It is in the DSP System Toolbox:
http://www.mathworks.com/help/toolbox/dsp/ref/dwt.html

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

その他の回答 (2 件)

Madhura
Madhura 2013 年 9 月 24 日
wavemenu is a command to find wavelet toolbax

NIKOLAY YAKOVENKO
NIKOLAY YAKOVENKO 2023 年 2 月 9 日
編集済み: NIKOLAY YAKOVENKO 2023 年 2 月 9 日
I designed and tested my own CWT (continuous wavelet transform) in Simulink. I do use it successfully.
First, I used these functions to get the wavelets I need, or create the matrix with my own wavelets.
fbMorlet = cwtfilterbank('SignalLength',100,'SamplingFrequency',10,'WaveletParameters',[3,9]);
[psi,freqs]=wavelets(fbMorlet');
Wavelets=transpose(psi);
Then I used the "Discrete FIR filter" block of DSP toolkit to convolute equal size samples of signal for example 100 samples to the same length wavelets, and then find the index of the frequency that gave the maximum. The "Discrete FIR filter" block of DSP toolkit does not allow the matrix of coefficient, so I had to reverse the inputs, i.e. I put the matrix of wavelets to the signal input of the block, and the signal chunk of 100 samples to the coefficient input. Then I shift the signal by one sample (therefore processing the old 99 samples plus one new, and let the process repeat. This way I search all the input signal for wavelet response sample by sample therefore performing a true CWT in continuos time!
  1 件のコメント
Ahmad Aldiab
Ahmad Aldiab 2024 年 4 月 17 日
is it possible to share your model please, thanks a lot

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

カテゴリ

Help Center および File ExchangeContinuous Wavelet Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by