Converting array to column matrix

6 次查看(过去 30 天)
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)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by