Documentation of samfun

Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)

Function Synopsis

[ObjV, Grad] = samfun(x, DistDataHigh)

Help text

 Objective function for Sammon mapping, calculates derivatives as well

 This function calculates the objective values (stress function)
 for Sammon mapping.
 If a second output parameter is provided, the derivatives are 
 calculated as well.
 This function is normally called from the optimization function.

 Syntax:  [ObjV, Grad] = samfun(x, DistDataHigh)

 Input parameter:
    x            - data points, every row presents one low-dimensional data point
    DistDataHigh - distances betwenn data points in high dimension

 Output parameter:
    ObjV      - objective value

 See also: sammon

Cross-Reference Information

This function calls This function is called by
GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions  www.geatbx.com 

This document is part of version 3.8 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2006 Hartmut Pohlheim, All Rights Reserved, (support@geatbx.com).