Found an unsupported unbounded loop structure. This loop may be user written or automatically generated due to the use of specific vector expressions or functions. For more information on unsupported loop structures, please refer to the documentation
the matlab code is as follows:
function a=poly123() s1=[zeros(1,3),pi]; % xcorr(x) x=cos(s1)+1i*sin(s1); n=length(x); r1=zeros(1,n)+1i*zeros(1,n); for m=0:1:n-1 r=0+1i*0; for n1=1:1:n-m r=r+x(n1+m)*x(n1); end r1(m+1)=r; end a=r1;
end
what to do with this kind of problem
Best Answer