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

cat vertcat matrix vector

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 ?

Best Answer

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