summaryrefslogtreecommitdiff
path: root/1592/DEPENDENCIES/step_func.sce
diff options
context:
space:
mode:
Diffstat (limited to '1592/DEPENDENCIES/step_func.sce')
-rwxr-xr-x1592/DEPENDENCIES/step_func.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1592/DEPENDENCIES/step_func.sce b/1592/DEPENDENCIES/step_func.sce
new file mode 100755
index 000000000..70807103e
--- /dev/null
+++ b/1592/DEPENDENCIES/step_func.sce
@@ -0,0 +1,9 @@
+clc
+//
+function [y]=u(t)
+ if t>=0
+ y=1
+else y=0
+ end
+endfunction
+