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

2 ビュー (過去 30 日間)
Kamar Ledgister
Kamar Ledgister 2020 年 4 月 21 日
コメント済み: Kamar Ledgister 2020 年 4 月 21 日
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.
Kamar Ledgister
Kamar Ledgister 2020 年 4 月 21 日
Thank you for your help.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by