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.
  1 件のコメント
subha
subha 2014 年 2 月 7 日
Got it..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by