n=size(prices,2);M_coint=zeros(n,n);for i=1:n; j=1:n; M_coint(i,j)=cadf(prices(:,i),prices(:,j),0,1); M_coint(i,j)=M_coint.adf;end
message error: The following error occurred converting from struct to double: Error using double Conversion to double from struct is not possible.
Best Answer