problem in matrix formation mean want to make a matrix from given matrix by removing 2,3,4 column values?

1 view (last 30 days)
I have matrix of 964*4092 and want to take value of column of 1st 5th 9th and so on as it is ? In the 2nd, 3rd and 4th column there is different value but I don't want to keep that value

Accepted Answer

Walter Roberson
Walter Roberson on 25 Aug 2013
YourMatrix(:, 1:4:end)
will select column 1, 5, 9, 13, 17, and so on.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!