??? 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 ?

 Akzeptierte Antwort

hadi
hadi am 26 Mai 2012

0 Stimmen

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

3 Kommentare

Try the expressions individually,
size(1.8+max(f1))
size(max(f2))
size(min(f3))
size(max(f4))
sorry 111x1 is a column vector
To check, you have resolved this now?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 26 Mai 2012

0 Stimmen

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

Kategorien

Gefragt:

am 26 Mai 2012

Community Treasure Hunt

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

Start Hunting!

Translated by