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

9 Ansichten (letzte 30 Tage)
Greg Heath
Greg Heath am 3 Aug. 2017
Kommentiert: the cyclist am 3 Aug. 2017
% 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by