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

4 次查看(过去 30 天)
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 个评论
Ameer Hamza
Ameer Hamza 2020-4-21
编辑:Ameer Hamza 2020-4-21
All the variables in sol = [...] have dimensions 1x5, except 'rh' and 'rt'. They should also have same dimensions.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by