Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



want to collect specific row values from an array
Posted:
Dec 4, 2012 6:16 AM


I have two arrays in which one(A) is of 86400x1
and another(B) is of 3600x1
B array is created by the value of every 60th row of A.
e.g. B(1,:)=A(60,:)
B(2,:)=A(120,:)
....................
in this way.
I have tried
for i=60:60:length(A) B(i,:) = A(i,:); end
Its giving me the B array but with 0 replace between every 60th value.
I need only the values with out any zero between them.
any help please.
Thanks in advance



