Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
suppose i have a matrix [1.22 0 2.33 3.444 1.222 0] and i want the solution to be the number of iterations between non zero values. the solution should be [1 2 1 1]
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Z(xidx) = z;
this is the vector that i have.
1 comentario
Star Strider
el 19 de Mzo. de 2017
Your vector has 6 elements and your ‘solution’ has 4.
What procedure do you use for getting the ‘solution’? What ‘rule’ do you use?
Respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!