rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
scm_get_neighbours.m File Reference

[P_M, ind] = scm_get_neighbours(M, mu, C) More...

Go to the source code of this file.

Functions

function [ P_M
, ind ] = 
scm_get_neighbours (M, mu, C)
 [P_M, ind] = scm_get_neighbours(M, mu, C) More...
 

Detailed Description

[P_M, ind] = scm_get_neighbours(M, mu, C)

Definition in file scm_get_neighbours.m.

Function Documentation

function [ P_M , ind ] = scm_get_neighbours (   M,
  mu,
  C 
)

[P_M, ind] = scm_get_neighbours(M, mu, C)

function which computes the set P_M(mu,C) with M{N}, mu the parameter and C a set of parameters (the parameters in C have the same size as mu. The set P_M(mu,C) is defined as P_M(mu,C) = {the M closest neigbours of mu in C, measured in |.|, if 1 <= M < C, C, if M >= |C|, [], if M = 0.

The second output ind contains the indices of the M closest neighbours of mu in C.

Parameters
MM
mumu
CC
Return values
P_MP M
indind

Definition at line 17 of file scm_get_neighbours.m.

Here is the caller graph for this function: