First Question:
regarding my code here :
for z = [1 2 4 8 12 16 24 32 64 96 128]
for a=1:24
a;
for d=1:5
d;
[result]=evolRand(128,1,10,1,bench);
bb= 5*(a-1)+d;
temp=eval(['minExe_useModel_' num2str(z)]);
%z=num2str(zz)
exploreff(a,d,z) =mean(mean(result(a,d).randMin(:,2:end)))/temp(bb);
end
end
end
why at the end I am getting :
>>size(exploreff)
ans =
24 5 128
while I had assigned z= [1 2 4 8 12 16 24 32 64 96 128] which was 11 ??
Second Question:
How am I gonna be able to define a array of structure out of these z so that I can call them like exploreff(a,b).z ? cuz defining them like this in the script caused the
Structure assignment to non-structure object.
Error in explorationEffort_Speedup (line 15)
exploreff(aa,dd).z=mean(mean(result(aa,dd).randMin(:,2:end)))/temp(bb);`
error.
clear exploreffbefore the loop and check the dimension ofmean(mean(result(a,d).randMin(:,2:end)))/temp(bb).z = [1 2 4 8 12 16 24 32 64 96 128].