Error using zeros, Size inputs must be scalar
古いコメントを表示
train_data = zeros(num_train_data,1);
I get error on this line. I attached the screenshot of my num_train_data below.
PS Im new to matlab.

回答 (1 件)
Walter Roberson
2015 年 9 月 4 日
0 投票
num_train_data should be referring to the number of training samples you have, not to the content of the training samples.
4 件のコメント
Js Goh
2015 年 9 月 4 日
Walter Roberson
2015 年 9 月 4 日
num_train_data = size(reresult,1);
Walter Roberson
2015 年 9 月 4 日
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!