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.
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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 Commento
Wick
il 4 Mag 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.
Risposta accettata
Più risposte (0)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!