Cosmetic changes in texinfo headers. Deleted trailing white spaces. Changed the value of show_time in the third internal test.
parent
2a88e49f9f
commit
78fe29eeef
|
@ -2,11 +2,10 @@ function indx = traditional_resampling(weights,noise)
|
|||
% Resamples particles.
|
||||
|
||||
%@info:
|
||||
%! @deftypefn {Function File} {@var{indx} =} resample (@var{weights},@var{noise})
|
||||
%! @deftypefn {Function File} {@var{indx} =} traditional_resampling (@var{weights},@var{noise})
|
||||
%! @anchor{particle/traditional_resampling}
|
||||
%! @sp 1
|
||||
%! Resamples particles (Resampling à la Kitagawa or stratified resampling).
|
||||
%!
|
||||
%! @sp 2
|
||||
%! @strong{Inputs}
|
||||
%! @sp 1
|
||||
|
@ -26,14 +25,15 @@ function indx = traditional_resampling(weights,noise)
|
|||
%! @end table
|
||||
%! @sp 2
|
||||
%! @strong{This function is called by:}
|
||||
%! @sp 1
|
||||
%! @ref{particle/resample}
|
||||
%! @sp 2
|
||||
%! @strong{This function calls:}
|
||||
%!
|
||||
%! @sp 2
|
||||
%! @end deftypefn
|
||||
%@eod:
|
||||
|
||||
% Copyright (C) 2011 Dynare Team
|
||||
% Copyright (C) 2011, 2012 Dynare Team
|
||||
%
|
||||
% This file is part of Dynare.
|
||||
%
|
||||
|
@ -145,7 +145,7 @@ end
|
|||
%$ number_of_particles = 20000;
|
||||
%$
|
||||
%$ show_plot = 0;
|
||||
%$ show_time = 0;
|
||||
%$ show_time = 1;
|
||||
%$
|
||||
%$ % Define the weights
|
||||
%$ weights = randn(number_of_particles,1).^2;
|
||||
|
|
Loading…
Reference in New Issue