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 Sat 16-May-2009 00:04:49 by m2html © 2003