How can I combine all the column vectors in to one column vector
10 次查看(过去 30 天)
显示 更早的评论
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] ..........
0 个评论
采纳的回答
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 个评论
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 Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!