[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
function movavg dont work with matrix
From: |
LucaLuca |
Subject: |
function movavg dont work with matrix |
Date: |
Tue, 27 Aug 2019 10:19:29 -0500 (CDT) |
Equity=magic(4);
AvgEquity=2;
movAverage2=movavg(Equity,AvgEquity,AvgEquity,0);
Equity =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
movAverage =
OK Not OK Not OK Not OK
16.0000 2.0000 3.0000 13.0000
10.5000 11.0000 10.0000 8.0000
7.0000 7.0000 6.0000 12.0000
6.5000 14.0000 15.0000 1.0000
the average of column 1 is correct ... while in the other columns they are
copied from the original maatrice
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- function movavg dont work with matrix,
LucaLuca <=