フィルターのクリア

what is the meaning of this code

1 回表示 (過去 30 日間)
praveen singathi
praveen singathi 2021 年 3 月 20 日
コメント済み: praveen singathi 2021 年 3 月 20 日
for i=1:1:n
M(:,i)=ca{i}(:);
end

採用された回答

Walter Roberson
Walter Roberson 2021 年 3 月 20 日
ca is a cell array. The first n entries of the cell array are to be reshaped into vectors and stored as columns of M. You would get an error if the number of elements in each entry is not the same.
In some cases, the code could be replaced with a call to cell2mat(), depending on what the shape of the entries is.
  1 件のコメント
praveen singathi
praveen singathi 2021 年 3 月 20 日
tq for ur explanation

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

その他の回答 (0 件)

カテゴリ

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