[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... | |
[P_M, ind] = scm_get_neighbours(M, mu, C)
Definition in file scm_get_neighbours.m.
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.
M | M |
mu | mu |
C | C |
P_M | P M |
ind | ind |
Definition at line 17 of file scm_get_neighbours.m.