Home > freetb4matlab > statistics > squareform.m

squareform

PURPOSE ^

% 'tovector')

SYNOPSIS ^

function y = squareform (x, method)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} squareform (@var{x})
% @deftypefnx {Function File} {@var{y} =} squareform (@var{x},
% 'tovector')
% @deftypefnx {Function File} {@var{y} =} squareform (@var{x},
% 'tomatrix')
% Convert a vector from the pdist function into a square matrix or from
% a square matrix back to the vector form.
%
% The second argument is used to specify the output type in case there
% is a single element.
% @seealso{pdist}
% @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