I want to build a matrix from the first row in each matrix from a cell array
To take the first row from each cell array (10*6) [The first row 6 values] and build a matrix from the first rows in 47 cells
to be 6 rows x 47 mixes and for loop for the other rows ( second row and third, ... etc) to be built

 채택된 답변

Matt J
Matt J 2021년 4월 2일
편집: Matt J 2021년 4월 2일
load(websave('t','https://www.mathworks.com/matlabcentral/answers/uploaded_files/570494/RT-4.4-Dprony.mat'))
M=cat(3,K_4{:});
result=squeeze(M(1,:,:)); whos result
Name Size Bytes Class Attributes result 6x47 2256 double

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2021년 4월 2일

댓글:

2021년 4월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by