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

2 visualizzazioni (ultimi 30 giorni)
I want to declare a cell array of a particular size let's say n .Can anyone tell me how to do it?

Risposta accettata

Akshay Malav
Akshay Malav il 23 Giu 2019
This question has been answered before Here.

Più risposte (1)

Image Analyst
Image Analyst il 23 Giu 2019
Use cell():
ca = cell(1, n);

Tag

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by