How can I combine all the column vectors in to one column vector

조회 수: 7 (최근 30일)
SSV
SSV 2019년 9월 27일
댓글: Guillaume 2019년 9월 27일
I have different column vectors x1=104x1 , x2=104x1, x3=104x1 ..... xn =104x1
and I need to combine all the column vectors in to one column vector combine all the column vectors in to one column vector similar to below, and planning to calculate the Mean , Median ,etc.
Mean Median
x1 [104x1] ..........
x2 [104x1] ..........
x3 [104x1] ..........
..........
xn [104x1] ..........

채택된 답변

madhan ravi
madhan ravi 2019년 9월 27일
편집: madhan ravi 2019년 9월 27일
Don’t name variables , if you would have all the vectors as cells it would have been much easier.
X =[x1,x2...,xn]
Xmean = mean(X)
  댓글 수: 2
SSV
SSV 2019년 9월 27일
Still I have some doubts,
I need to make a table like this,
comparing to my data and this table
07-Mar-2013 01:57:46 is my x1
08-Mar-2013 02:34:21 is my x2A.JPG
Guillaume
Guillaume 2019년 9월 27일
I need to make a table like this,
Starting from what? If you indeed have numbered variables as you seem to indicate, then we need to go back one step to fix whatever created these numbered variables.
You should never have numbered variables.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by