summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_SZ_LQR.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/FunctionAnnotation/FA_SZ_LQR.sci')
-rw-r--r--macros/FunctionAnnotation/FA_SZ_LQR.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_SZ_LQR.sci b/macros/FunctionAnnotation/FA_SZ_LQR.sci
new file mode 100644
index 0000000..2f199d0
--- /dev/null
+++ b/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