diff options
Diffstat (limited to '1592/DEPENDENCIES/step_func.sce')
-rwxr-xr-x | 1592/DEPENDENCIES/step_func.sce | 9 |
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
+
|