Home > freetb4matlab > statistics > zscore.m

zscore

PURPOSE ^

% Compute the @math{z}-score.

SYNOPSIS ^

function [A, mu, sigma] = zscore(X,varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{A} =} zscore (@var{X})
% Compute the @math{z}-score.
%
% Compute the @math{z}-score of each element of @var{X} relative to the data in
% the columns of @var{X}.  The @math{z}-score for a single data point @math{x_i}
% is:
%
% @example
% (x_i - mean(x))/std(x)
% @end example
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003