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!