how to multiply the input vector and weight matrix (X*iw+b)
조회 수: 5 (최근 30일)
이전 댓글 표시
Mr greg suggested output = repmat(b2,1,N) + LW*tanh(repmat(b1,1,N)+ IW*input). in this equation i am having 3 input and iw matrix of size 20X3.how to multiply three inputs vector and weight matrix
댓글 수: 0
채택된 답변
Greg Heath
2015년 8월 28일
The MAT in MATLAB stands for MATRIX. If
size(IW) = [ 20 3 ]
size(x) = [ 3 N ]
Then the matrix multiplication command yields
size(IW*x) = [ 20 N ];
Hope this helps.
Thank you for formally accepting my answer
Greg
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!