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 日

0 投票

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

1 件のコメント

Khaled Bahnasy
Khaled Bahnasy 2021 年 4 月 2 日
Perfect
Thanks for Support

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索

製品

リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by