error in matrix multiplication.
Show older comments
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.]
Accepted Answer
More Answers (0)
Categories
Find more on Elementary Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!