summaryrefslogtreecommitdiff
path: root/data_structures/TIME_DELAY.js
blob: d58682a0b6317c5e2aa12077dd14af973489ba01 (plain)
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
function TIME_DELAY () {


	var nin = 1;

	var T = 1;

	var init = 0;

	var N = 1024;

	var model = scicos_model();
	model.sim=list("time_delay",4);
	model.in = new ScilabDouble([nin]);
	model.out=new ScilabDouble([nin]);
	model.rpar = new ScilabDouble([T,init]);
	model.ipar=new ScilabDouble([N]);
	model.blocktype = new ScilabString(["x"]);
	model.dep_ut = new ScilabBoolean([false,true]);

	var exprs = [[T.toString()],[init.toString()],[N.toString()]];

	var gr_i = [];
	this.x=new standard_define(new ScilabDouble([3.5,2]),model,exprs,gr_i);
}