Home > src > resample.m

resample

PURPOSE ^

RESAMPLE Resampling for particle filtering

SYNOPSIS ^

function ind = resample(W,alg)

DESCRIPTION ^

RESAMPLE  Resampling for particle filtering

  Syntax:
    ind = RESAMPLE(W,alg)

 Author:
   Simo Särkkä, 2002

 In:
   W   - Positive weights descibing the relative
         probabilities of particles. Can be a numeric
         array or a cell array containing particle structures.
         The weights do not not need to sum to unity.
   alg - Algorithm index. Currently only "simple"
         algorithm as index 1 is defined.      (optional, default 1)

 Out:
   ind - Indices of resampled particles. There may be multiple
         indices and some of them might be missing, but that is
         the whole idea of resampling.

 Description:
   Resampling for particle filtering.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 19-Feb-2008 17:08:22 by m2html © 2003