please help to solve this error " In an assignment A(:) = B, the number of elements in A and B must be the same." . code is attached in zip file.
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
please help to solve this error " In an assignment A(:) = B, the number of elements in A and B must be the same." . code is attached in zip file.
1 comentario
Wick
el 4 de Mayo de 2018
can you help me how can i solve this problem. because i tried a lot to solve this one but could not got successs.
Since x_stage1 has two elements, you may only assign one to x_temp(stage). So it could be
x_temp(stage) = abs(x_temp1(1)).*y;
For example. Whether you pick the first or second element - or whether you need to assign both to x_temp in another way is up to you to decide.
Respuesta aceptada
Más respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!