What this error 'Dimensions of arrays being concatenated are not consistent' means?
Mostra commenti meno recenti
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
Error in Make_forward_model (line 85)
Vpar = [Vpar.'; 0];
Does it Vpar = [Vpar.'; 0]; to take the transpose?
2 Commenti
SALAH ALRABEEI
il 13 Giu 2021
why "Vpar." not just "Vpar"!!
SALAH ALRABEEI
il 13 Giu 2021
If the dimension of Vpar is >1, you cannot concate it with 0. If it is just one array, you can try this instead.
%
Vpar(end+1) = 0;
Risposta accettata
Più risposte (1)
Image Analyst
il 13 Giu 2021
0 voti
It's thoroughly discussed in the FAQ:
Categorie
Scopri di più su Creating and Concatenating Matrices 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!