Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Need help with matlab function interpretation related to Simpson' rule

조회 수: 1 (최근 30일)
Daniyar
Daniyar 2013년 2월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
Hey guys,
Got stuck with function integration using Simpson's rule:
The Matlab command related to it is:
for i=1:nr
u1d(i)=4.0*pi*r(i)^2*u(it,i)
end
I1=simp(0.0,r0,nr,u1d)/(4.0/3.0*pi*r0^3)
I1 is
nr=21
r0=1.0;
Does it mean that I1 is integrated 21 times between boundaries 0 and r0?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by