Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-3.
조회 수: 132 (최근 30일)
이전 댓글 표시
Hi part of mi code is shown below:
for I = 1:10+1
w2(i,1)= w2(i,1)+n.*delta2.*Y1(i)
end
i am getting the error as mentioned in the title, can someone please help me
댓글 수: 4
Adam
2018년 10월 25일
Debug your code. It is one of those error messages that is completely self-explanatory!
답변 (1개)
madhan ravi
2018년 10월 25일
편집: madhan ravi
2018년 10월 25일
for i = 1:10+1
w2(i,:)= w2(i,1)+n.*delta2.*Y1(i)
end
댓글 수: 7
madhan ravi
2018년 10월 26일
편집: madhan ravi
2018년 10월 26일
Anytime , make sure to accept the answer if it worked so that other people know the question is solved else let know whats additionally required
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!