I have a mat file (matrix)with 36000X7 dim in Matlab and I want to delete every 2nd row from the matrix that would result in 18000X7 dim matrix. How to do that using Matlab?
1
Expert's answer
2011-12-22T12:20:23-0500
Let A be the matrix with 36000X7 dim. Then the command
A(1:2:end,:)
shows all rows starting from 1 to the last row with step 2, that is rows 1,3,5,7...
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments