Using spectralFlux to plot Flux of a vector

6 ビュー (過去 30 日間)
Sarah Aimen
Sarah Aimen 2019 年 10 月 15 日
編集済み: Sarah Aimen 2019 年 10 月 17 日
Hi,
I have a waveform in time domain, but it is digitized, so It is basically a vector (yy). How can I plot Flux for it? When I write
flux = spectralFlux(yy,fs);
Error: Undefined function 'spectralFlux' for input arguments of type 'double'.
Seems MATLAB doesn't recognize spectralFlux. I'd appreciate your help at this matter.
Thanks

採用された回答

jibrahim
jibrahim 2019 年 10 月 17 日
Sarah,
Which MATLAB release are you working from? This function was introduced to audio Toolbox in R2019a.
  1 件のコメント
Sarah Aimen
Sarah Aimen 2019 年 10 月 17 日
編集済み: Sarah Aimen 2019 年 10 月 17 日
Yes, It was the problem, I installed new MATLAB, now it works! Thanks though,

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

その他の回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2019 年 10 月 15 日
It is not at all clear what you want to do, spectral flux is not a term I've heard before - this might be because I'm ignorant, or because you've translated from another language and the exact English term is something else. I'll take a swing anyways...
You might be interested in the spectrogram function. Have a look at the help and documentation for that function.
If I'm way off, you might get better help if you describe what spectral flux is in more detail.
HTH
  1 件のコメント
Sarah Aimen
Sarah Aimen 2019 年 10 月 15 日
Thanks for your response, and sorry for the confusion.
I'm following this link
I want to use it for my own signal, X(t).
How should I do that?
Thanks

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

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by