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.
178 次查看(过去 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!