I'm trying to write a for loop to save the output of my code in rows 1-3.
This doesn't seem to be working as the loop is basically dumping the very same value into all 3 rows.
I'd be grateful if anyone can provide some insight on this.
for i = 1:3;
m(i,3) = jZC(X1,thres);
m(i,3) = jZC(X2,thres);
m(i,3) = jZC(X3,thres);