Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

could any one help me with understanding this code please where w and b are matrices

1 visualización (últimos 30 días)
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 comentarios
John D'Errico
John D'Errico el 26 de Dic. de 2018
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
Walter Roberson el 26 de Dic. de 2018
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.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by