Error using vertcat Dimensions of arrays being concatenated are not consistent.

2 visualizzazioni (ultimi 30 giorni)
sol = [alpha_2; W2; B2; W3; B_3; V3; a3; w; n; l; S; Ni; rh; rt; L_F]'
table = array2table(sol,'VariableNames',{'alpha_2','W2','B2','W3','B_3','V3','a3','w','n','l','S','Ni','rh','rt','L_F'})
  5 Commenti
Ameer Hamza
Ameer Hamza il 21 Apr 2020
Modificato: Ameer Hamza il 21 Apr 2020
All the variables in sol = [...] have dimensions 1x5, except 'rh' and 'rt'. They should also have same dimensions.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by