@tsnewer wrote:
Hello,
How can i choose some rows in a matrix arbitrarily to product a new matrix ? For example, i can do it in matlab like this, A=rand(5,5); index=[1 3 5]; B=A(index,:); .
Posts: 3
Participants: 2
@tsnewer wrote:
Hello,
How can i choose some rows in a matrix arbitrarily to product a new matrix ? For example, i can do it in matlab like this, A=rand(5,5); index=[1 3 5]; B=A(index,:); .
Posts: 3
Participants: 2