diff options
Diffstat (limited to '3885/CH7')
-rw-r--r-- | 3885/CH7/EX7.10/Ex7_10.sci | 14 | ||||
-rw-r--r-- | 3885/CH7/EX7.10/Ex7_10.xcos | 370 | ||||
-rw-r--r-- | 3885/CH7/EX7.11/Ex7_11.sci | 14 | ||||
-rw-r--r-- | 3885/CH7/EX7.11/Ex7_11.xcos | 372 | ||||
-rw-r--r-- | 3885/CH7/EX7.12/Ex7_12.sci | 16 | ||||
-rw-r--r-- | 3885/CH7/EX7.12/Ex7_12.xcos | 370 |
6 files changed, 1156 insertions, 0 deletions
diff --git a/3885/CH7/EX7.10/Ex7_10.sci b/3885/CH7/EX7.10/Ex7_10.sci new file mode 100644 index 000000000..f4ed6fb6d --- /dev/null +++ b/3885/CH7/EX7.10/Ex7_10.sci @@ -0,0 +1,14 @@ +//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 7.10
+
+clc;
+clear;
+s=%s
+p=poly([10],'s','coeff')
+q=poly([1 2 4 1],'s','coeff')
+sm=cont_frm(p,q)
+disp(sm,'the state model in matrix form is')
diff --git a/3885/CH7/EX7.10/Ex7_10.xcos b/3885/CH7/EX7.10/Ex7_10.xcos new file mode 100644 index 000000000..834225556 --- /dev/null +++ b/3885/CH7/EX7.10/Ex7_10.xcos @@ -0,0 +1,370 @@ +<?xml version="1.0" ?> +<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Untitled"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426--> + <Array as="context" scilabClass="String[]"></Array> + <mxGraphModel as="model"> + <root> + <mxCell id="0:1:0"/> + <mxCell id="0:2:0" parent="0:1:0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fe7" parent="0:2:0" interfaceFunctionName="CLSS" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLSS"> + <ScilabString as="exprs" height="5" width="1"> + <data line="0" column="0" value="[0 1 0;0 0 1;-1 -2 -4]"/> + <data line="1" column="0" value="[0;0;10]"/> + <data line="2" column="0" value="[1 0 0]"/> + <data line="3" column="0" value="0"/> + <data line="4" column="0" value="[0; 0; 1]"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="16"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="-1.0"/> + <data line="0" column="3" realPart="1.0"/> + <data line="0" column="4" realPart="0.0"/> + <data line="0" column="5" realPart="-2.0"/> + <data line="0" column="6" realPart="0.0"/> + <data line="0" column="7" realPart="1.0"/> + <data line="0" column="8" realPart="-4.0"/> + <data line="0" column="9" realPart="0.0"/> + <data line="0" column="10" realPart="0.0"/> + <data line="0" column="11" realPart="10.0"/> + <data line="0" column="12" realPart="1.0"/> + <data line="0" column="13" realPart="0.0"/> + <data line="0" column="14" realPart="0.0"/> + <data line="0" column="15" realPart="0.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="1" width="3"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="1.0"/> + </ScilabDouble> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="180.0" y="110.0" width="80.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fe6" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fe5" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd5" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="110.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fd5"/> + <mxCell id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fc7" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="3" width="1"> + <data line="0" column="0" value="1"/> + <data line="1" column="0" value="0"/> + <data line="2" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="1.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fc6" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <ControlPort id="28c792fb:15ff6784ce1:-7fc5" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fc4" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style=""/> + <ExplicitOutBlock id="28c792fb:15ff6784ce1:-7fc3" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/> + </ExplicitOutBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fc2" parent="28c792fb:15ff6784ce1:-7fc3" ordering="1" initialState="0.0" style=""/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fc1" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc6" target="28c792fb:15ff6784ce1:-7fc2" style="" value=""> + <mxGeometry as="geometry"> + <Array as="points"></Array> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fc0" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc4" target="28c792fb:15ff6784ce1:-7fc5" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"> + <mxPoint x="20.0" y="-20.0"/> + <mxPoint x="-20.0" y="-20.0"/> + <mxPoint x="-20.0" y="60.0"/> + <mxPoint x="20.0" y="60.0"/> + </Array> + <mxPoint as="targetPoint" x="1.0" y="1.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + </SuperBlockDiagram> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fd4" parent="28c792fb:15ff6784ce1:-7fd5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd2" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE"> + <ScilabString as="exprs" height="10" width="1"> + <data line="0" column="0" value="1 3 5 7 9 11 13 15"/> + <data line="1" column="0" value="-1"/> + <data line="2" column="0" value="[]"/> + <data line="3" column="0" value="[600;400]"/> + <data line="4" column="0" value="-15"/> + <data line="5" column="0" value="15"/> + <data line="6" column="0" value="30"/> + <data line="7" column="0" value="20"/> + <data line="8" column="0" value="0"/> + <data line="9" column="0" value=""/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="4"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="-15.0"/> + <data line="0" column="2" realPart="15.0"/> + <data line="0" column="3" realPart="30.0"/> + </ScilabDouble> + <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32"> + <data line="0" column="0" value="-1"/> + <data line="0" column="1" value="1"/> + <data line="0" column="2" value="20"/> + <data line="0" column="3" value="1"/> + <data line="0" column="4" value="3"/> + <data line="0" column="5" value="5"/> + <data line="0" column="6" value="7"/> + <data line="0" column="7" value="9"/> + <data line="0" column="8" value="11"/> + <data line="0" column="9" value="13"/> + <data line="0" column="10" value="15"/> + <data line="0" column="11" value="-1"/> + <data line="0" column="12" value="-1"/> + <data line="0" column="13" value="600"/> + <data line="0" column="14" value="400"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="105.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fd1" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ControlPort id="28c792fb:15ff6784ce1:-7fd0" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fce" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="25.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fce"/> + <mxCell id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + <EventOutBlock id="28c792fb:15ff6784ce1:-7fbf" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/> + </EventOutBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbe" parent="28c792fb:15ff6784ce1:-7fbf" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fbd" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="2" width="1"> + <data line="0" column="0" value="0.1"/> + <data line="1" column="0" value="0.1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.1"/> + <data line="0" column="1" realPart="0.1"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/> + </BasicBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbc" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fbb" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style=""/> + <SplitBlock id="28c792fb:15ff6784ce1:-7fba" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="380.71066" y="172.0" width="0.3333333333333333" height="0.3333333333333333"/> + </SplitBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fb9" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb8" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb7" parent="28c792fb:15ff6784ce1:-7fba" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb6" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fbb" target="28c792fb:15ff6784ce1:-7fb9" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="340.0" y="226.29"/> + <Array as="points"> + <mxPoint x="340.0" y="172.0"/> + </Array> + <mxPoint as="targetPoint" x="380.71" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb5" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb8" target="28c792fb:15ff6784ce1:-7fbe" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="399.0" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb4" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb7" target="28c792fb:15ff6784ce1:-7fbc" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"> + <mxPoint x="380.71" y="302.0"/> + <mxPoint x="340.0" y="302.0"/> + </Array> + <mxPoint as="targetPoint" x="340.0" y="277.71"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + </SuperBlockDiagram> + </BasicBlock> + <CommandPort id="28c792fb:15ff6784ce1:-7fcd" parent="28c792fb:15ff6784ce1:-7fce" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fd3" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fd4" target="28c792fb:15ff6784ce1:-7fe6" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="44.0" y="20.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="-4.0" y="20.0"/> + </mxGeometry> + </ExplicitLink> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fcf" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fe5" target="28c792fb:15ff6784ce1:-7fd1" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="84.0" y="20.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="-4.0" y="20.0"/> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fcc" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fcd" target="28c792fb:15ff6784ce1:-7fd0" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="20.0" y="44.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="20.0" y="-4.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/> +</XcosDiagram>
\ No newline at end of file diff --git a/3885/CH7/EX7.11/Ex7_11.sci b/3885/CH7/EX7.11/Ex7_11.sci new file mode 100644 index 000000000..0ff584531 --- /dev/null +++ b/3885/CH7/EX7.11/Ex7_11.sci @@ -0,0 +1,14 @@ +//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 7.11
+
+clc;
+clear;
+s=%s
+p=poly([40 10],'s','coeff')
+q=poly([0 3 4 1],'s','coeff')
+sm=cont_frm(p,q)
+disp(sm,'the state model in matrix form is')
diff --git a/3885/CH7/EX7.11/Ex7_11.xcos b/3885/CH7/EX7.11/Ex7_11.xcos new file mode 100644 index 000000000..c92f6bff7 --- /dev/null +++ b/3885/CH7/EX7.11/Ex7_11.xcos @@ -0,0 +1,372 @@ +<?xml version="1.0" ?> +<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex7_11"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426--> + <Array as="context" scilabClass="String[]"></Array> + <mxGraphModel as="model"> + <root> + <mxCell id="0:1:0"/> + <mxCell id="0:2:0" parent="0:1:0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fe7" parent="0:2:0" interfaceFunctionName="CLSS" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLSS"> + <ScilabString as="exprs" height="5" width="1"> + <data line="0" column="0" value="[-4 1 0;-3 0 1;0 0 0]"/> + <data line="1" column="0" value="[0;10;40]"/> + <data line="2" column="0" value="[1 0 0]"/> + <data line="3" column="0" value="0"/> + <data line="4" column="0" value="[0; 0; 1]"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="16"> + <data line="0" column="0" realPart="-4.0"/> + <data line="0" column="1" realPart="-3.0"/> + <data line="0" column="2" realPart="0.0"/> + <data line="0" column="3" realPart="1.0"/> + <data line="0" column="4" realPart="0.0"/> + <data line="0" column="5" realPart="0.0"/> + <data line="0" column="6" realPart="0.0"/> + <data line="0" column="7" realPart="1.0"/> + <data line="0" column="8" realPart="0.0"/> + <data line="0" column="9" realPart="0.0"/> + <data line="0" column="10" realPart="10.0"/> + <data line="0" column="11" realPart="40.0"/> + <data line="0" column="12" realPart="1.0"/> + <data line="0" column="13" realPart="0.0"/> + <data line="0" column="14" realPart="0.0"/> + <data line="0" column="15" realPart="0.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="1" width="3"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="1.0"/> + </ScilabDouble> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="180.0" y="110.0" width="80.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fe6" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fe5" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd5" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="110.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fd5"/> + <mxCell id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fc7" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="3" width="1"> + <data line="0" column="0" value="1"/> + <data line="1" column="0" value="0"/> + <data line="2" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="1.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fc6" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0"/> + <ControlPort id="28c792fb:15ff6784ce1:-7fc5" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/> + <CommandPort id="28c792fb:15ff6784ce1:-7fc4" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/> + <ExplicitOutBlock id="28c792fb:15ff6784ce1:-7fc3" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/> + </ExplicitOutBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fc2" parent="28c792fb:15ff6784ce1:-7fc3" ordering="1" dataType="REAL_MATRIX" dataColumns="-2" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0"/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fc1" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc6" target="28c792fb:15ff6784ce1:-7fc2" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="0.0" y="0.0"/> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fc0" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc4" target="28c792fb:15ff6784ce1:-7fc5" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"> + <mxPoint x="20.0" y="-20.0"/> + <mxPoint x="-20.0" y="-20.0"/> + <mxPoint x="-20.0" y="60.0"/> + <mxPoint x="20.0" y="60.0"/> + </Array> + <mxPoint as="targetPoint" x="1.0" y="1.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + </SuperBlockDiagram> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fd4" parent="28c792fb:15ff6784ce1:-7fd5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd2" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE"> + <ScilabString as="exprs" height="10" width="1"> + <data line="0" column="0" value="1 3 5 7 9 11 13 15"/> + <data line="1" column="0" value="-1"/> + <data line="2" column="0" value="[]"/> + <data line="3" column="0" value="[600;400]"/> + <data line="4" column="0" value="0"/> + <data line="5" column="0" value="300"/> + <data line="6" column="0" value="30"/> + <data line="7" column="0" value="20"/> + <data line="8" column="0" value="0"/> + <data line="9" column="0" value=""/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="4"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="300.0"/> + <data line="0" column="3" realPart="30.0"/> + </ScilabDouble> + <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32"> + <data line="0" column="0" value="-1"/> + <data line="0" column="1" value="1"/> + <data line="0" column="2" value="20"/> + <data line="0" column="3" value="1"/> + <data line="0" column="4" value="3"/> + <data line="0" column="5" value="5"/> + <data line="0" column="6" value="7"/> + <data line="0" column="7" value="9"/> + <data line="0" column="8" value="11"/> + <data line="0" column="9" value="13"/> + <data line="0" column="10" value="15"/> + <data line="0" column="11" value="-1"/> + <data line="0" column="12" value="-1"/> + <data line="0" column="13" value="600"/> + <data line="0" column="14" value="400"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="105.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fd1" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ControlPort id="28c792fb:15ff6784ce1:-7fd0" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fce" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="25.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fce"/> + <mxCell id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + <EventOutBlock id="28c792fb:15ff6784ce1:-7fbf" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/> + </EventOutBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbe" parent="28c792fb:15ff6784ce1:-7fbf" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fbd" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="2" width="1"> + <data line="0" column="0" value="0.1"/> + <data line="1" column="0" value="0.1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.1"/> + <data line="0" column="1" realPart="0.1"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/> + </BasicBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbc" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/> + <CommandPort id="28c792fb:15ff6784ce1:-7fbb" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/> + <SplitBlock id="28c792fb:15ff6784ce1:-7fba" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="380.71066" y="172.0" width="7.0" height="7.0"/> + </SplitBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fb9" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0"/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb8" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb7" parent="28c792fb:15ff6784ce1:-7fba" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0"/> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb6" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fbb" target="28c792fb:15ff6784ce1:-7fb9" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="340.0" y="226.29"/> + <Array as="points"> + <mxPoint x="340.0" y="172.0"/> + </Array> + <mxPoint as="targetPoint" x="380.71" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb5" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb8" target="28c792fb:15ff6784ce1:-7fbe" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="399.0" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb4" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb7" target="28c792fb:15ff6784ce1:-7fbc" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"> + <mxPoint x="380.71" y="302.0"/> + <mxPoint x="340.0" y="302.0"/> + </Array> + <mxPoint as="targetPoint" x="340.0" y="277.71"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + </SuperBlockDiagram> + </BasicBlock> + <CommandPort id="28c792fb:15ff6784ce1:-7fcd" parent="28c792fb:15ff6784ce1:-7fce" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fd3" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fd4" target="28c792fb:15ff6784ce1:-7fe6" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="0.0" y="0.0"/> + </mxGeometry> + </ExplicitLink> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fcf" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fe5" target="28c792fb:15ff6784ce1:-7fd1" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="0.0" y="0.0"/> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fcc" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fcd" target="28c792fb:15ff6784ce1:-7fd0" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="0.0" y="0.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/> +</XcosDiagram>
\ No newline at end of file diff --git a/3885/CH7/EX7.12/Ex7_12.sci b/3885/CH7/EX7.12/Ex7_12.sci new file mode 100644 index 000000000..11e0d08eb --- /dev/null +++ b/3885/CH7/EX7.12/Ex7_12.sci @@ -0,0 +1,16 @@ +//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 7.12
+
+clc;
+clear;
+s=%s
+h=syslin('c',(2*(s+5))/((s+2)*(s+3)*(s+4)))
+disp(h,'thr transfer function is')
+ss=tf2ss(h)
+disp(ss,'the state space model is')
+[Ac,Bc,U,ind]=canon(ss(2),ss(3))
+disp(Ac,Bc,U,ind)
diff --git a/3885/CH7/EX7.12/Ex7_12.xcos b/3885/CH7/EX7.12/Ex7_12.xcos new file mode 100644 index 000000000..014662dc8 --- /dev/null +++ b/3885/CH7/EX7.12/Ex7_12.xcos @@ -0,0 +1,370 @@ +<?xml version="1.0" ?> +<XcosDiagram debugLevel="0" finalIntegrationTime="30.0" integratorAbsoluteTolerance="1.0E-6" integratorRelativeTolerance="1.0E-6" toleranceOnTime="1.0E-10" maxIntegrationTimeInterval="100001.0" maximumStepSize="0.0" realTimeScaling="0.0" solver="1.0" background="-1" gridEnabled="1" title="Ex7_11"><!--Xcos - 2.0 - scilab-6.0.0 - 20170214 1426--> + <Array as="context" scilabClass="String[]"></Array> + <mxGraphModel as="model"> + <root> + <mxCell id="0:1:0"/> + <mxCell id="0:2:0" parent="0:1:0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fe7" parent="0:2:0" interfaceFunctionName="CLSS" blockType="c" dependsOnU="0" dependsOnT="1" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLSS"> + <ScilabString as="exprs" height="5" width="1"> + <data line="0" column="0" value="[-2 0 0;0 -3 0;0 0 -4]"/> + <data line="1" column="0" value="[1;1;1]"/> + <data line="2" column="0" value="[3 -4 1]"/> + <data line="3" column="0" value="0"/> + <data line="4" column="0" value="[0; 0; 1]"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="16"> + <data line="0" column="0" realPart="-2.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="0.0"/> + <data line="0" column="3" realPart="0.0"/> + <data line="0" column="4" realPart="-3.0"/> + <data line="0" column="5" realPart="0.0"/> + <data line="0" column="6" realPart="0.0"/> + <data line="0" column="7" realPart="0.0"/> + <data line="0" column="8" realPart="-4.0"/> + <data line="0" column="9" realPart="1.0"/> + <data line="0" column="10" realPart="1.0"/> + <data line="0" column="11" realPart="1.0"/> + <data line="0" column="12" realPart="3.0"/> + <data line="0" column="13" realPart="-4.0"/> + <data line="0" column="14" realPart="1.0"/> + <data line="0" column="15" realPart="0.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="1" width="3"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="0.0"/> + <data line="0" column="2" realPart="1.0"/> + </ScilabDouble> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="180.0" y="110.0" width="80.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fe6" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fe5" parent="28c792fb:15ff6784ce1:-7fe7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd5" parent="0:2:0" interfaceFunctionName="STEP_FUNCTION" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="110.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fd5"/> + <mxCell id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fc7" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="STEP" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="step_func" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="3" width="1"> + <data line="0" column="0" value="1"/> + <data line="1" column="0" value="0"/> + <data line="2" column="0" value="50"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="50.0"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="0.0" y="0.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fc6" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <ControlPort id="28c792fb:15ff6784ce1:-7fc5" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fc4" parent="28c792fb:15ff6784ce1:-7fc7" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="1.0" style=""/> + <ExplicitOutBlock id="28c792fb:15ff6784ce1:-7fc3" parent="28c792fb:15ff6784ce3:-7fd5" interfaceFunctionName="OUT_f" blockType="c" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="80.0" y="10.0" width="20.0" height="20.0"/> + </ExplicitOutBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fc2" parent="28c792fb:15ff6784ce1:-7fc3" ordering="1" initialState="0.0" style=""/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fc1" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc6" target="28c792fb:15ff6784ce1:-7fc2" style="" value=""> + <mxGeometry as="geometry"> + <Array as="points"></Array> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fc0" parent="28c792fb:15ff6784ce3:-7fd5" source="28c792fb:15ff6784ce1:-7fc4" target="28c792fb:15ff6784ce1:-7fc5" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="0.0" y="0.0"/> + <Array as="points"> + <mxPoint x="20.0" y="-20.0"/> + <mxPoint x="-20.0" y="-20.0"/> + <mxPoint x="-20.0" y="60.0"/> + <mxPoint x="20.0" y="60.0"/> + </Array> + <mxPoint as="targetPoint" x="1.0" y="1.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fd5" parent="28c792fb:15ff6784ce2:-7fd5"/> + </SuperBlockDiagram> + </BasicBlock> + <ExplicitOutputPort id="28c792fb:15ff6784ce1:-7fd4" parent="28c792fb:15ff6784ce1:-7fd5" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fd2" parent="0:2:0" interfaceFunctionName="CSCOPE" blockType="c" dependsOnU="1" dependsOnT="0" simulationFunctionName="cscope" simulationFunctionType="C_OR_FORTRAN" style="CSCOPE"> + <ScilabString as="exprs" height="10" width="1"> + <data line="0" column="0" value="1 3 5 7 9 11 13 15"/> + <data line="1" column="0" value="-1"/> + <data line="2" column="0" value="[]"/> + <data line="3" column="0" value="[600;400]"/> + <data line="4" column="0" value="-30"/> + <data line="5" column="0" value="30"/> + <data line="6" column="0" value="30"/> + <data line="7" column="0" value="20"/> + <data line="8" column="0" value="0"/> + <data line="9" column="0" value=""/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="4"> + <data line="0" column="0" realPart="0.0"/> + <data line="0" column="1" realPart="-30.0"/> + <data line="0" column="2" realPart="30.0"/> + <data line="0" column="3" realPart="30.0"/> + </ScilabDouble> + <ScilabInteger as="integerParameters" height="1" width="15" intPrecision="sci_int32"> + <data line="0" column="0" value="-1"/> + <data line="0" column="1" value="1"/> + <data line="0" column="2" value="20"/> + <data line="0" column="3" value="1"/> + <data line="0" column="4" value="3"/> + <data line="0" column="5" value="5"/> + <data line="0" column="6" value="7"/> + <data line="0" column="7" value="9"/> + <data line="0" column="8" value="11"/> + <data line="0" column="9" value="13"/> + <data line="0" column="10" value="15"/> + <data line="0" column="11" value="-1"/> + <data line="0" column="12" value="-1"/> + <data line="0" column="13" value="600"/> + <data line="0" column="14" value="400"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="105.0" width="40.0" height="40.0"/> + </BasicBlock> + <ExplicitInputPort id="28c792fb:15ff6784ce1:-7fd1" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="-1" initialState="0.0" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/> + <ControlPort id="28c792fb:15ff6784ce1:-7fd0" parent="28c792fb:15ff6784ce1:-7fd2" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90"/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fce" parent="0:2:0" interfaceFunctionName="CLOCK_c" blockType="h" dependsOnU="0" dependsOnT="0" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c"> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="335.0" y="25.0" width="40.0" height="40.0"/> + <SuperBlockDiagram as="child" background="-1" gridEnabled="1" title=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGraphModel as="model"> + <root> + <mxCell id="28c792fb:15ff6784ce2:-7fce"/> + <mxCell id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + <EventOutBlock id="28c792fb:15ff6784ce1:-7fbf" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKOUT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="output" simulationFunctionType="DEFAULT" style=""> + <ScilabString as="exprs" height="1" width="1"> + <data line="0" column="0" value="1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabInteger as="integerParameters" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="1"/> + </ScilabInteger> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="399.0" y="162.0" width="20.0" height="20.0"/> + </EventOutBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbe" parent="28c792fb:15ff6784ce1:-7fbf" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <BasicBlock id="28c792fb:15ff6784ce1:-7fbd" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="EVTDLY_c" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="evtdly4" simulationFunctionType="C_OR_FORTRAN" style=""> + <ScilabString as="exprs" height="2" width="1"> + <data line="0" column="0" value="0.1"/> + <data line="1" column="0" value="0.1"/> + </ScilabString> + <ScilabDouble as="realParameters" height="1" width="2"> + <data line="0" column="0" realPart="0.1"/> + <data line="0" column="1" realPart="0.1"/> + </ScilabDouble> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="320.0" y="232.0" width="40.0" height="40.0"/> + </BasicBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fbc" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fbb" parent="28c792fb:15ff6784ce1:-7fbd" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.1" style=""/> + <SplitBlock id="28c792fb:15ff6784ce1:-7fba" parent="28c792fb:15ff6784ce3:-7fce" interfaceFunctionName="CLKSPLIT_f" blockType="d" dependsOnU="0" dependsOnT="0" simulationFunctionName="split" simulationFunctionType="DEFAULT" style=""> + <ScilabDouble as="exprs" height="0" width="0"/> + <ScilabDouble as="realParameters" height="0" width="0"/> + <ScilabDouble as="integerParameters" height="0" width="0"/> + <Array as="objectsParameters" scilabClass="ScilabList"/> + <ScilabInteger as="nbZerosCrossing" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabInteger as="nmode" height="1" width="1" intPrecision="sci_int32"> + <data line="0" column="0" value="0"/> + </ScilabInteger> + <ScilabDouble as="state" height="0" width="0"/> + <ScilabDouble as="dState" height="0" width="0"/> + <Array as="oDState" scilabClass="ScilabList"/> + <Array as="equations" scilabClass="ScilabList"/> + <mxGeometry as="geometry" x="380.71066" y="172.0" width="0.3333333333333333" height="0.3333333333333333"/> + </SplitBlock> + <ControlPort id="28c792fb:15ff6784ce1:-7fb9" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb8" parent="28c792fb:15ff6784ce1:-7fba" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandPort id="28c792fb:15ff6784ce1:-7fb7" parent="28c792fb:15ff6784ce1:-7fba" ordering="2" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style=""/> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb6" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fbb" target="28c792fb:15ff6784ce1:-7fb9" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="340.0" y="226.29"/> + <Array as="points"> + <mxPoint x="340.0" y="172.0"/> + </Array> + <mxPoint as="targetPoint" x="380.71" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb5" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb8" target="28c792fb:15ff6784ce1:-7fbe" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="399.0" y="172.0"/> + </mxGeometry> + </CommandControlLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fb4" parent="28c792fb:15ff6784ce3:-7fce" source="28c792fb:15ff6784ce1:-7fb7" target="28c792fb:15ff6784ce1:-7fbc" style="" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="380.71" y="172.0"/> + <Array as="points"> + <mxPoint x="380.71" y="302.0"/> + <mxPoint x="340.0" y="302.0"/> + </Array> + <mxPoint as="targetPoint" x="340.0" y="277.71"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="28c792fb:15ff6784ce3:-7fce" parent="28c792fb:15ff6784ce2:-7fce"/> + </SuperBlockDiagram> + </BasicBlock> + <CommandPort id="28c792fb:15ff6784ce1:-7fcd" parent="28c792fb:15ff6784ce1:-7fce" ordering="1" dataType="REAL_MATRIX" dataColumns="1" dataLines="1" initialState="0.0" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90"/> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fd3" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fd4" target="28c792fb:15ff6784ce1:-7fe6" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="44.0" y="20.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="-4.0" y="20.0"/> + </mxGeometry> + </ExplicitLink> + <ExplicitLink id="28c792fb:15ff6784ce1:-7fcf" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fe5" target="28c792fb:15ff6784ce1:-7fd1" style="ExplicitLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="84.0" y="20.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="-4.0" y="20.0"/> + </mxGeometry> + </ExplicitLink> + <CommandControlLink id="28c792fb:15ff6784ce1:-7fcc" parent="0:2:0" source="28c792fb:15ff6784ce1:-7fcd" target="28c792fb:15ff6784ce1:-7fd0" style="CommandControlLink" value=""> + <mxGeometry as="geometry"> + <mxPoint as="sourcePoint" x="20.0" y="44.0"/> + <Array as="points"></Array> + <mxPoint as="targetPoint" x="20.0" y="-4.0"/> + </mxGeometry> + </CommandControlLink> + </root> + </mxGraphModel> + <mxCell as="defaultParent" id="0:2:0" parent="0:1:0"/> +</XcosDiagram>
\ No newline at end of file |