Feeds
질문
Can someone explain why the top code works but the bottom one has an error that says "Index exceeds the number of array elements. Index must not exceed 1."
First Code: f=@(x) ((2.*x)./((2.*x)-1)).*((2.*x)/((2.*x)+1)); k=1;s=f(1); for k=2:1000 s=s*f(k); end s Second Code: ...
대략 1년 전 | 답변 수: 1 | 0
