Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to use cell indexes into a matrix?

1 回表示 (過去 30 日間)
Ibrahs
Ibrahs 2022 年 8 月 17 日
閉鎖済み: Stephen23 2022 年 8 月 17 日
Hi everyone
I have indices as cells such as A{:,:}= {A1=1x212 double, A2= 1x218 double, A3= 1x216 double, A4=1x218 double};
and a Matrix B (j,t) where rows j=j1, j2, j3, j4 and columns t has to vary in function of rows of each elements of A;
I would like to have a cell array C that is a result from the combination of each row of B and each element of indexes A such as
C={B(j1,A1); B(j2,A2); B(j3,A3); B(j4,A4)}
Would anyone help me to fix that issue? Thank you.
Best

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by