Hi everyone i'm stuck on something that's probably quite simple, wondering if someone can lend a hand
for slowIndex = 1:s
for fastindex = 1:s
H(slowIndex,fastIndex) = movavg(eurUSDClose,'exponential',slowIndex);
I took this from the MATLAB help section and am trying to amend it for what i need, can some one tell me what I must add to get the loop to run through the fastIndex as well? The end resulty should be a matrix with s number of rows and s number of colums. Eventually fastIndex and slowIndex will contain different values i'm just tryng to get my head around the basics as this stage.