forked from tuckermcclure/how-kalman-filters-work-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.m
32 lines (26 loc) · 923 Bytes
/
commands.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%% Commands for Image Generation
%
% These commands are used to generate the images used in the "How Kalman
% Filters Work" article. They use 'enjaden' from ml2jade, an open-source
% project for publishing MATLAB scripts to Jade syntax (a web language).
%
% This file is not itself part of the demonstration.
%%
delete('jade/img/particle*');
enjaden('particle_demo.m', 'jade', [], true, []);
%%
delete('jade/img/sigma_point*');
enjaden('sigma_point_demo.m', 'jade', [], true, []);
%%
delete('jade/img/ekf*');
enjaden('ekf_demo.m', 'jade', [], true, []);
%%
delete('jade/img/lkf*');
enjaden('lkf_demo.m', 'jade', [], true, []);
%%
kalman_gain_demo(true);
%% Deploy generated files.
target = '../../Web/anuncommonlab.com/public/articles/how-kalman-filters-work/img/';
% target = '../anuncommonlab.com/public/articles/how-kalman-filters-work/img/';
copyfile('jade/img/*', target);
copyfile('animations/*.gif', target);