summaryrefslogtreecommitdiffstats
path: root/scilab/modules/differential_equations/demos/bike/bike2.dem.sce
blob: 6a2e1afe7c9d20c5df8afd466e661372b610639b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@scilab.org>
//
// This file is distributed under the same license as the Scilab package.
//

thispath = get_absolute_file_path("bike2.dem.sce");

exec(thispath+"macros/bike_show.sci");
exec(thispath+"macros/velod.sci");
exec(thispath+"macros/velo1.sci");

x = read(thispath+"data/xdemo.dat",46,401,"(e10.4)");

my_handle = scf(100001);
clf(my_handle,"reset");

bike_show(x(:,1:340),1.6,1.47,velo1);

// Clear variable and functions
clear my_axe x;
clear bike_show get_velo_rti velo1 velo4p poteau arbre velodp velod;