How to declare a cell array of a particular size n ?

2 次查看(过去 30 天)
I want to declare a cell array of a particular size let's say n .Can anyone tell me how to do it?

采纳的回答

Akshay Malav
Akshay Malav 2019-6-23
This question has been answered before Here.

更多回答(1 个)

Image Analyst
Image Analyst 2019-6-23
Use cell():
ca = cell(1, n);

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by