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!