Build a matrix from matrix in a cell array

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

 Accepted Answer

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

More Answers (0)

Categories

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!