summaryrefslogtreecommitdiff
path: root/macros/spencer.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/spencer.sci')
-rw-r--r--macros/spencer.sci8
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/spencer.sci b/macros/spencer.sci
index 537ca8a..63a1b83 100644
--- a/macros/spencer.sci
+++ b/macros/spencer.sci
@@ -1,5 +1,11 @@
function y= spencer(x)
-
+//Return Spencer's 15 point moving average of each column of X.
+//Calling Sequence
+//spencer(X)
+//Parameters
+//X: Real scalar or vector
+//Description
+//Return Spencer's 15 point moving average of each column of X.
funcprot(0);
rhs= argn(2);