How to calculate the mean of different time frequency

1 次查看(过去 30 天)
Hello, I need to calculate the mean of different time frequency;each time frequency has this three outputs:
S (spectrum in form time x frequency x channels/trials if trialave=0;
in the form time x frequency if trialave=1)
t (times)
f (frequencies)
I need the same outputs for the mean time frequency;

回答(1 个)

Yogesh Khurana
Yogesh Khurana 2019-7-30
meanfreq can be used to calculate mean of frequencies. It can take frequency or spectral densities as input arguments in the form of vector or matrix. If the input argument is in the form of matrix, it calculates the mean of each column specified in that matrix.
You can also refer to following documentation for more details:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by