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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!