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

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2013년 5월 8일

0 개 추천

A(:,[1;3])

추가 답변 (1개)

SATHEESH MONIKANDAN B
SATHEESH MONIKANDAN B 2018년 1월 16일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

질문:

2013년 5월 8일

답변:

2018년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by