フィルターのクリア

i have a cell array and i want to reshape to matrix mxn and i have this error 'Subscripted assignment dimension mismatch'. for the following code

1 回表示 (過去 30 日間)
for m=1:M
for n=1:N
QRS_P(m,n)=QRS_Pulse_array{:,n};
end
end
  2 件のコメント
Pawel Jastrzebski
Pawel Jastrzebski 2018 年 3 月 6 日
Why don't you use a Matlab in-build function instead?
yasmeen hadadd
yasmeen hadadd 2018 年 3 月 6 日
編集済み: yasmeen hadadd 2018 年 3 月 6 日
i haven't the same size of values in every cell

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

回答 (1 件)

KSSV
KSSV 2018 年 3 月 6 日
QRS_P = cell(m,n) ;
for m=1:M
for n=1:N
QRS_P{m,n}=QRS_Pulse_array{:,n};
end
end

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by