I created a simple example with Scilab/XCOS. It is a simulation of lowpass filter with noise. It is observed by a kalman filter. You can also insert some uncertainties in the system model. With XCOS you can simulate the system. The results will be plotted automatically.
Here is the Downloadlink.
Little help with scilab:
Go to the directory with standard unix command
cd /home/workingdir/Kalman_Example
There you should execute getd() to load all functions (.sci-files) in the directory.
Then you can execute the modeling.sce file, which is just an initializing script:
exec('modelling.sce')
Then typexcos simulation_kalm1.zcos into the console. A graphic window will open. Press the play button and the simulation will start.
exec(modeling.sce)do? It should load initial variables to the workspace. The workspace is shown in the right side of the console window. – peng Jan 10 '16 at 22:57lsyou see all necessary files?] 2)getd()to load fuctions 3)exec(modeling)to execute the script - the results appear at the console and in the workspace? 4)xcos simulation_kalm1.zcosopens the XCOS simulation 5) Press Play-Button starts the simulation and the graphs appear in a plot. Which step makes problems?