diff options
Diffstat (limited to 'data_structures/DEADBAND.js')
-rw-r--r-- | data_structures/DEADBAND.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/data_structures/DEADBAND.js b/data_structures/DEADBAND.js new file mode 100644 index 0000000..a9867ed --- /dev/null +++ b/data_structures/DEADBAND.js @@ -0,0 +1,24 @@ +function DEADBAND () { + + + var minp = -.5; + + var maxp = .5; + + var rpar = [[maxp],[minp]]; + + var model = scicos_model(); + model.sim=list("deadband",4); + model.in = new ScilabDouble([1]); + model.nzcross = new ScilabDouble([2]); + model.nmode = new ScilabDouble([1]); + model.out = new ScilabDouble([1]); + model.rpar=rpar; + model.blocktype = new ScilabString(["c"]); + model.dep_ut = new ScilabBoolean([true,false]); + + var exprs = [[maxp.toString()],[minp.toString()],[model.nmode.toString()]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); +} |