error in matrix multiplication.
显示 更早的评论
sir i am using a simple line of code..
v(1)=(x*w1(1,:)')+(1*bias1(1,1));
y(1)=1/(1+exp(-v(1))); "
where w1 is a 15x784 matrix, bias1 is a 1x15 matrix and x is a 1x784 matrix. the error shown while doing the simple vector multiplication is::::::::
[ ??? Error using ==> mtimes MTIMES is not fully supported for integer classes. At least one input must be scalar.
To compute elementwise TIMES, use TIMES (.*) instead.]
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Elementary Math 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!