How can I create a 2 x 0 empty cell array variable?
9 views (last 30 days)
Show older comments
% 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
0 Comments
Accepted Answer
the cyclist
on 3 Aug 2017
cell(2,0)
2 Comments
the cyclist
on 3 Aug 2017
Even MVPs have their moments of weakness. ;-)
I regularly see stuff here that I didn't know.
More Answers (0)
See Also
Categories
Find more on Direct Search in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!