blooz
Advanced Member level 2
hi the particular code
is
%%%%%%%%%
r=randint(1,d,range);
temp=dec2hex(r',(w/4))
for i=1:d-1;
fid(fid,'%d,\n',temp(1:2 ,i));//error reported here
end
error message
??? Index exceeds matrix dimensions.
Error in ==> coe_script at 19
fid(fid,'%d,\n',temp(1:2 ,i));
is
%%%%%%%%%
r=randint(1,d,range);
temp=dec2hex(r',(w/4))
for i=1:d-1;
fid(fid,'%d,\n',temp(1:2 ,i));//error reported here
end
error message
??? Index exceeds matrix dimensions.
Error in ==> coe_script at 19
fid(fid,'%d,\n',temp(1:2 ,i));