필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

error in matrix indexing

조회 수: 2 (최근 30일)
Mohamed Ahmed
Mohamed Ahmed 2016년 8월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
train: matrix of 569 row and 32 column
x:matrix of 569 row of zeros &
y:matrix of 569 row of ones
now, what exactly this command did?
w=train(x,:)
w=train(y,:)
Note, this will give an error that indicate the subscript should be logical or postive
but in general
does the command w=train(x,:) calculate the size of x and then return the row of the resulted size?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 8월 3일
You have a problem because you named your matrix train the same as the command you hope to invoke http://www.mathworks.com/help/nnet/ref/train.html .

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by