summaryrefslogtreecommitdiff
path: root/help/en_US/autoreg_matrix.xml
diff options
context:
space:
mode:
Diffstat (limited to 'help/en_US/autoreg_matrix.xml')
-rw-r--r--help/en_US/autoreg_matrix.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/help/en_US/autoreg_matrix.xml b/help/en_US/autoreg_matrix.xml
index 61fefef..217a151 100644
--- a/help/en_US/autoreg_matrix.xml
+++ b/help/en_US/autoreg_matrix.xml
@@ -54,11 +54,11 @@ The resulting matrix may be used as a regressor matrix in autoregressions.
<refsection>
<title>Examples</title>
<programlisting role="example"><![CDATA[
-autoreg_matrix([1,2,3],2)
-ans =
-1. 0. 0.
-1. 1. 0.
-1. 2. 1.
+
+Y = [1,2,3] ;
+K = 2 ;
+autoreg_matrix(Y,K)
+
]]></programlisting>
</refsection>
</refentry>