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

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?

댓글을 달려면 로그인하십시오.

추가 답변 (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 Exchange에서 Creating 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