What does this refers to?

조회 수: 14 (최근 30일)
Sabarinathan Vadivelu
Sabarinathan Vadivelu 2012년 9월 20일
What does this refers to? And how can be implemented in matlab?
Where S refers to an Image.

채택된 답변

Wayne King
Wayne King 2012년 9월 20일
I'm assuming this means the average (or mean). In that usage, it is a case of the bra-ket notation introduced by Dirac.
For a matrix, just use mean() with an optional dimension input to tell whether you want to take the mean columnwise, or by rows.
A = randn(10,10);
mean(A) % gives a 1x10 vector of column means
mean(A,2) % gives a 10x1 vector row means
mean(A(:)) % or mean(mean(A)) gives you the mean of all elements

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by