How can I create a 2 x 0 empty cell array variable?

% As a result of help and doc narxnet neural network documentation, I get the following result
[ X, T ] = simplenarx_dataset;
neto = narxnet( 1:2, 1:2, 10 );
[ Xo, Xoi, Aoi, To] = preparets( neto, X, {}, T );
whos
% Name Size Bytes Class
% Aoi 2x0 0 cell
% Now I am curious: What straight forward line command will create a 2 x 0 cell?
% To get a hint, I entered the two commands
>> Aoi , Aoi = Aoi
Aoi = 2×0 empty cell array
Aoi = 2×0 empty cell array
% Again: What straight forward line command will create a 2 x 0 cell ?
E = { ? }, whos E
Thanks,
Greg

 采纳的回答

cell(2,0)

2 个评论

Thanks.
I'm ashamed to say how long I've tried to figure it out on my own.
Have a good day,
Greg
Even MVPs have their moments of weakness. ;-)
I regularly see stuff here that I didn't know.

请先登录,再进行评论。

更多回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by