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

 Accepted Answer

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

3 Comments

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?

Sign in to comment.

More Answers (1)

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

Categories

Asked:

on 26 May 2012

Community Treasure Hunt

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

Start Hunting!