필터 지우기
필터 지우기

How to take the value of the array

조회 수: 2 (최근 30일)
Pham Ngoc Thanh
Pham Ngoc Thanh 2013년 6월 5일
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