필터 지우기
필터 지우기

Error using - Matrix dimensions must agree. Error in WDO_SG_Code_PL_test1m (line 322) a2=aa-a1;?

조회 수: 1 (최근 30일)
i have an index file having stereo=[1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1]; and aa=find(stereo); now index is refered in my main code file as
u(hour)=hour; Clothesdrye(hour)=power_pattern(hour,1); a1=find(Clothesdrye); Index a2=aa-a1; %a3=sum((a2)/9); b2=bb-b1;
Error using - Matrix dimensions must agree.
Error in WDO_SG_Code_PL_test1m (line 322) a2=aa-a1;

답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by