Commit c6abfe31 authored by Jonathan Hadida's avatar Jonathan Hadida
Browse files

More output

parent 9255d1c7
......@@ -68,7 +68,7 @@ function [best_particles,best_scores] = particle_filter( objective_fun, range, v
assert( opt.BestK > 0, 'BestK should be non-zero.' );
% initialise the particles
fprintf('Particle filter starting with %d particles and %d cycles\n',Nparticles,Ncycles);
fprintf('Particle filter starting with %d particles and %d cycles:\n',Nparticles,Ncycles);
fprintf('\t- Initialisation\n');
particles = uniform_sampling( range, Nparticles );
......@@ -83,7 +83,7 @@ function [best_particles,best_scores] = particle_filter( objective_fun, range, v
for c = 1:Ncycles
fprintf('\t- Starting cycle #%d\n',c);
fprintf('\t- Cycle #%d / %d (started @%s)...\n',c,Ncycles,datestr(now,'dd-mmm-yy HH:MM:SS'));
% resample
particles = horzcat( ...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment