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

1 Ansicht (letzte 30 Tage)
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;

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by