not able to solve the integration function
조회 수: 1(최근 30일)
I am not able to solve the given integration function. The screenshot of given is attached and the code is given below
b(j)= int(R(j)-sqrt(R(j).^2-x(j).^2),0, f);
Jan 2021년 12월 16일
This cannot work:
x(j) = linspace(0,0.025,101);
On the left is a scalar and on the right a vector with 101 elements.
Seeing only the invalid code does not clarify its intention. What is the purpose of the loop?