[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
movavg is different using loop and matrix
From: |
gigiolone123 |
Subject: |
movavg is different using loop and matrix |
Date: |
Thu, 5 Sep 2019 16:35:32 -0500 (CDT) |
hi, look this esample:
DevPeriod=16;
Equity=magic(100);
for hh=1:columns(Equity)
ma1=movavg(Equity(:,hh),DevPeriod,DevPeriod,0);
endfor
ma2=movavg(Equity,DevPeriod,DevPeriod,0);
ma1 and ma2 are different from each other
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- movavg is different using loop and matrix,
gigiolone123 <=