How to calculate variance?

조회 수: 12 (최근 30일)
CalebJones
CalebJones 2019년 9월 16일
답변: Sebastian Körner 2019년 9월 16일
matrix of 1510 x 15? 15 is number of channels...so i wanted variance of every channel.

채택된 답변

Sebastian Körner
Sebastian Körner 2019년 9월 16일
A= *your matrix*
V = var(A);
If A is a matrix whose columns are random variables and whose rows are observations, V is a row vector containing the variances corresponding to each column.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by