Merging columns within a single matrix

I have a 5x10 matrix and I would like to use a box plot to graph the data in columns 1 and 3 as one box. In other words I would like to merge columns 1 and 3 into one column. How might I do this?
I have been attempting to use A(:,[1 3]); but I get a new matrix...any suggestions?
Thank you

更多回答(1 个)

how to convert the 10double into 1double value in matlab?

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by