what is the meaning of code?

2 次查看(过去 30 天)
subha
subha 2014-2-7
评论: subha 2014-2-7
what below line represents?This is the code which is used to load digits which is taken from MNIST dataset.
Load Digit 0 is understandable that it loads digit 0 from the dataset.But what about the next line. what would be D?
load digit0; digitdata = [digitdata; D];

采纳的回答

Amit
Amit 2014-2-7
If this code runs, D must be a scalar or a matrix in digit0.
digitdata = [digitdata;D]
appends the matrix or vector digitdata and added D to it. Try this:
A = (1:10)';
A = [A;11]
and see what you get. This will clarify this.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by