MATLAB Answers

How to calculate the mean of different time frequency

4 views (last 30 days)
Hinde essmahi BOUZIANE
Hinde essmahi BOUZIANE on 22 Jul 2019
Answered: Yogesh Khurana on 30 Jul 2019
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;

  0 Comments

Sign in to comment.

Answers (1)

Yogesh Khurana
Yogesh Khurana on 30 Jul 2019
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!

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!