how can i do data statistics from thr frequency response graph on wvtool??

Hello. Let's say I have d1ch1 as a vector of 1x1024,
i write on the command window
>> wvtool(d1ch1)
Now I have the two graphs, one in the time doman and one in the frequency domain.
How can I do data statistics, like average, mean, std devation, and stuff like that on the two graphs?
Thank you very much for answers.

5 Comments

Not sure about that tool. You might have to do it in a script instead of that tool/applet.
thanks for reply!
ok i will make a code for this calculations.
can you say me how the tool get the frequency response?
thanks
Doc says: "[...] By default, the frequency domain plot is the magnitude squared of the Fourier transform of the window vector in decibels (dB)."
so let's say "resize12" is a vector of 2048 samples,
wvtool(resize12)
if i type this code
Y=fft(resize12);
x = sqrt(Y);
plot(x)
but instead of getting the same plot of wvtool(resize12) i get this graphs
what i am doing wrong?please help me
Sorry, I cannot help you, but start by running the FFTOfNoisySignalExample, which is the first example of the documentation on fft()

Sign in to comment.

Answers (1)

Hi Riccardo,
I am not sure about the MATLAB version that you are using for calculating data statistics.
You can use Tools->Data Statistics to calculate data statistics like average, mean, etc.
Thanks,
Nidhi Mittal

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2018b

Community Treasure Hunt

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

Start Hunting!