필터 지우기
필터 지우기

how to resolve subscript mismatch error?

조회 수: 1 (최근 30일)
Anu  Sri
Anu Sri 2019년 3월 12일
댓글: Anu Sri 2019년 3월 12일
Subscripted assignment dimension mismatch (size [1 x 1] ~= size [:? x 1]).
LIP(:, 1) = temp(:);
temp = temp';
LIP(:, 2) = temp(:);
  댓글 수: 2
KSSV
KSSV 2019년 3월 12일
What are dimensions of LIP, temp?
Anu  Sri
Anu Sri 2019년 3월 12일
LIP=[4 1]
temp=[2 2]

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

채택된 답변

madhan ravi
madhan ravi 2019년 3월 12일
LIP = repmat(temp(:),1,2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by