How to clear the error on the code?
Mostra commenti meno recenti
if true
x_of_size_of_U=W;
y_of_size_of_U=L;
U=[ho,E2];
for i=1:n
reshaped_U=reshape(U,x_of_size_of_U,y_of_size_of_U);
end
end
the error is given below
Error using reshape To RESHAPE the number of elements must not change.
Error in fincode (line 227) reshaped_U=reshape(U,x_of_size_of_U,y_of_size_of_U);
3 Commenti
Adam
il 8 Feb 2018
Make sure you give correct sizes. Given that you arbitrarily assign W and L to your size elements, which we have no clue what they are, we can't really say anything more than that.
x_of_size_of_U * y_of_size_of_U
should be equal to
numel( U )
PLACEIUS NISHIGA G
il 14 Feb 2018
Pavithra A
il 15 Mar 2021
Beam width call function error
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!