??? Error using ==> vertcat CAT arguments dimensions are not consistent.

I keep getting this error: ??? Error using ==> vertcat CAT arguments dimensions are not consistent. when I am writting down this: [1.8+max(f2);max(f2);min(f3);max(f4)]; what should I do to avoid this ?

 採用された回答

hadi
hadi 2012 年 5 月 26 日

0 投票

yes f1 and f2 and f3 and f4 all of them are 1x111 column vector.

3 件のコメント

Walter Roberson
Walter Roberson 2012 年 5 月 26 日
Try the expressions individually,
size(1.8+max(f1))
size(max(f2))
size(min(f3))
size(max(f4))
hadi
hadi 2012 年 5 月 26 日
sorry 111x1 is a column vector
Walter Roberson
Walter Roberson 2012 年 5 月 26 日
To check, you have resolved this now?

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 5 月 26 日

0 投票

What are the size() of f2, f3, and f4?
Also should that 1.8+max(f2) be 1.8+max(f1) ?

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2012 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by