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 件のコメント

Mark
Mark 2013 年 5 月 9 日
Thank you that worked great.

サインインしてコメントする。

その他の回答 (1 件)

SATHEESH MONIKANDAN B
SATHEESH MONIKANDAN B 2018 年 1 月 16 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by