Can anyone tell me why I am getting "Unrecognized function or variable 'a'." in this code?
이전 댓글 표시
g=@(x) atan(4*x);
d=@(x) 4/(16*x^2 + 1);
h=1;
for i= 0:h:10
if (g(i)*g(i+h)<0)
a=(i);
b=(i+h);
break;
end
end
x0 = (a+b)/2;
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
