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

4 views (last 30 days)
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 Comments
Ameer Hamza
Ameer Hamza on 21 Apr 2020
Edited: Ameer Hamza on 21 Apr 2020
All the variables in sol = [...] have dimensions 1x5, except 'rh' and 'rt'. They should also have same dimensions.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!