Converting array to column matrix

5 ビュー (過去 30 日間)
Amy Topaz
Amy Topaz 2022 年 3 月 8 日
コメント済み: Amy Topaz 2022 年 3 月 8 日
How can we convert the below array (50*50) into a column array which only has the first column (50*1)

採用された回答

Arif Hoq
Arif Hoq 2022 年 3 月 8 日
編集済み: Arif Hoq 2022 年 3 月 8 日
use colon(:). each variable will be forced to be a column vector
col_vector=Eflevel(:)
if you want extract first 50 data(50*1), then
output=col_vector(1:50,1)
  3 件のコメント
Arif Hoq
Arif Hoq 2022 年 3 月 8 日
編集済み: Arif Hoq 2022 年 3 月 8 日
do you want first 50 rows ? please attach your data. or try
output2=Eflevel(1:50,1)
Amy Topaz
Amy Topaz 2022 年 3 月 8 日
Thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by