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

 Réponse acceptée

hadi
hadi le 26 Mai 2012
yes f1 and f2 and f3 and f4 all of them are 1x111 column vector.

3 commentaires

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?

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 26 Mai 2012
What are the size() of f2, f3, and f4?
Also should that 1.8+max(f2) be 1.8+max(f1) ?

Catégories

En savoir plus sur Language Fundamentals dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by