Info
この質問は閉じられています。 編集または回答するには再度開いてください。
could any one help me with understanding this code please where w and b are matrices
1 回表示 (過去 30 日間)
古いコメントを表示
N=3;
w1=[w(1:N);w(N+1:2*N)]';
b1=w(2*N+1:3*N)';
w2=w(3*N:4*N+1);
b2=w(end);
4 件のコメント
John D'Errico
2018 年 12 月 26 日
Out of context, totally uncommented code is just a bunch of characters. It has no "meaning" without that context. So ask the person who wrote the code.
Walter Roberson
2018 年 12 月 26 日
If N=8 then you could get most sizes you list but w2 will always have more elements than the others so it is not possible to use a single N with that code to get the sizes you are looking for.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!