フィルターのクリア

convert two column matrices into one column matrix

49 ビュー (過去 30 日間)
fatema saba
fatema saba 2014 年 6 月 23 日
コメント済み: Thallon Pitchure 2020 年 8 月 29 日
Hello I want to combine two column vector matrices into one column vector matrix like the example A=[1;4;6;7;8] B=[10;21;11;9] C must be like: C=[1;4;6;7;8;10;21;11;9]
I need a general answer because I have many and large columns. Thank you
  1 件のコメント
Thallon Pitchure
Thallon Pitchure 2020 年 8 月 29 日
Hello! Would anyone be able to answer this except have two column vectors in a single matrix?

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

採用された回答

José-Luis
José-Luis 2014 年 6 月 23 日
C = [A(:);B(:)]
This is a pretty basic question. I recommend you read the "Getting started" part of the documentation.

その他の回答 (1 件)

fatema saba
fatema saba 2014 年 6 月 23 日
Thank you. yes I'm beginner Luis. Thanks

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by