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

 採用された回答

the cyclist
the cyclist 2017 年 8 月 3 日

4 投票

cell(2,0)

2 件のコメント

Greg Heath
Greg Heath 2017 年 8 月 3 日
Thanks.
I'm ashamed to say how long I've tried to figure it out on my own.
Have a good day,
Greg
the cyclist
the cyclist 2017 年 8 月 3 日
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