How can we convert the below array (50*50) into a column array which only has the first column (50*1)

 Akzeptierte Antwort

Arif Hoq
Arif Hoq am 8 Mär. 2022
Bearbeitet: Arif Hoq am 8 Mär. 2022

0 Stimmen

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 Kommentare

Amy Topaz
Amy Topaz am 8 Mär. 2022
Yeah tried that but it is getting converted into 2500*1. I need just the first column (50*1)
Arif Hoq
Arif Hoq am 8 Mär. 2022
Bearbeitet: Arif Hoq am 8 Mär. 2022
do you want first 50 rows ? please attach your data. or try
output2=Eflevel(1:50,1)
Amy Topaz
Amy Topaz am 8 Mär. 2022
Thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Gefragt:

am 8 Mär. 2022

Kommentiert:

am 8 Mär. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by