summaryrefslogtreecommitdiff
path: root/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci
diff options
context:
space:
mode:
authorsiddhu89902017-02-07 16:16:31 +0530
committersiddhu89902017-02-07 16:16:31 +0530
commite59107e6bb2695fc20fd0ab229e296b9bf739fc4 (patch)
tree5bedc90e7bc88bb86b10a33839887eeb3e2f39cf /2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci
parent1fef9b1edc2d4400e8ba6bb6fafb648963d6817d (diff)
downloadScilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.tar.gz
Scilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.tar.bz2
Scilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.zip
Support for 'lqr' and 'lqe' added
Diffstat (limited to '2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci')
-rw-r--r--2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci
new file mode 100644
index 00000000..2f199d0b
--- /dev/null
+++ b/2.3-1/macros/FunctionAnnotation/FA_SZ_LQR.sci
@@ -0,0 +1,6 @@
+function outsize = FA_SZ_LQR(inval)
+
+ inval = eval(inval)
+ outsize(1) = string(int(inval));
+ outsize(2) = string(modulo(inval*10,10));
+ endfunction