Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a two-dimensional array ($569\times30$ double) which should be normalized using this formula:

$x'_{ij} = \dfrac{x_{ij} - \overline\mu_j}{\overline\delta_j} $

What is the name of this normalization and how can I do that in Matlab?

share|cite|improve this question
Its another question, another formula. I post this in separated question to make answer simpler and give more reputations to who answers – Mohammad Ali Akbari Nov 26 '12 at 20:15
Ah! I see that you changed the $h$ to a $\bar\delta_j$ while I was commenting (or perhaps I was simply seeing things). – Cameron Buie Nov 26 '12 at 20:16
up vote 2 down vote accepted

This transformation is called Z-score (see wikipedia entry). It can be implemented easily in Matlab, just take a look on zscore function. Please notice, that the result depends on how you store your data (if samples are stored in the rows or in the columns).

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.