MATLAB Answers

How to extract columns number 1 and 3 from a matrix with 3 columns, to form a new matrix with 2 columns, without selecting columns number 2

1,439 views (last 30 days)
Panayiotis Loizides
Panayiotis Loizides on 27 Nov 2016
Answered: Cris LaPierre on 26 Oct 2020
Guys, I have a 10 x 3 matrix and I want to know how to extract the 1st and the 3rd column from my matrix, to form a new 10 x 2 matrix, without selecting the 2nd column.
Regards

  0 Comments

Sign in to comment.

Answers (3)



Community Treasure Hunt

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

Start Hunting!