フィルターのクリア

How do I create an empty cell array of given dimensions?

229 ビュー (過去 30 日間)
Cynthia Dickerson
Cynthia Dickerson 2018 年 6 月 12 日
コメント済み: Al in St. Louis 2020 年 5 月 8 日
I want to assign double matrices into a 3-D cell array. The dimensions of the cell array need to be equivalent to variable1 x variable2 x variable 3. How do I initially create the empty array?

採用された回答

Fangjun Jiang
Fangjun Jiang 2018 年 6 月 12 日
a=cell(1,2,3)
  1 件のコメント
Cynthia Dickerson
Cynthia Dickerson 2018 年 6 月 12 日
Thank you! That syntax was driving me crazy!!!

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

その他の回答 (1 件)

Al in St. Louis
Al in St. Louis 2020 年 5 月 8 日
Wouldn't it be nice if documentation for that function existed?
  7 件のコメント
Fangjun Jiang
Fangjun Jiang 2020 年 5 月 8 日
If you look towards the end section of the "doc cell" page ... Yes. It does not look like the best way.
Al in St. Louis
Al in St. Louis 2020 年 5 月 8 日
I've given the page two stars and explained the issue.

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

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by