How to take the value of the array

2 次查看(过去 30 天)
I have Wj1 =
[3x12 double] [3x48 double] [3x192 double]
I want to have a matrix [3x252], I make A=[Wj1{1},Wj1{2},Wj1{3}] but i can't make with Wj1(i)
How I can create a matrix A=[Wj1{1},Wj1{2},...,Wj1{i},...,Wj1{n}]
Thanks a lot

采纳的回答

Jan
Jan 2013-6-5
A = [Wj1{:}];
Or equivalently:
A = cat(2, Wj1{:})

更多回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-6-5

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by