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

9 visualizzazioni (ultimi 30 giorni)
% 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

Risposta accettata

the cyclist
the cyclist il 3 Ago 2017
  2 Commenti
Greg Heath
Greg Heath il 3 Ago 2017
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 il 3 Ago 2017
Even MVPs have their moments of weakness. ;-)
I regularly see stuff here that I didn't know.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by