diff options
Diffstat (limited to 'webapp/history/data_structures/SATURATION.js')
-rw-r--r-- | webapp/history/data_structures/SATURATION.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/webapp/history/data_structures/SATURATION.js b/webapp/history/data_structures/SATURATION.js new file mode 100644 index 0000000..37a218a --- /dev/null +++ b/webapp/history/data_structures/SATURATION.js @@ -0,0 +1,25 @@ +function SATURATION () { + + + var minp = -1; + + var maxp = 1; + + var rpar = [[maxp],[minp]]; + + var model = scicos_model(); + model.sim=list(new ScilabString(["satur"]),new ScilabDouble([4])); + model.in1 = 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 = [[string(maxp)],[string(minp)],[string(model.nmode)]]; + + var gr_i = []; + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x) +} |