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


Jos
Posts:
1,268
Registered:
10/24/08


Re: want to collect specific row values from an array
Posted:
Dec 4, 2012 7:04 AM


"Moon Datta" wrote in message <k9km1o$ng1$1@newscl01ah.mathworks.com>... > 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.
B = A(60:60:end,:)
To understand this compare it to the following (smaller) example A = floor(10*rand(12,3)) B = A(3:3:end,:) % every 3rd row of A
~ Jos



