필터 지우기
필터 지우기

How do I code normalized global errors in Matlab?

조회 수: 2 (최근 30일)
Kayode Odeyemi
Kayode Odeyemi 2020년 6월 29일
편집: Kayode Odeyemi 2020년 6월 29일
If I is defined to be a discrete approximation to the global integral then
I(h)=\frac{1}{4\pi} \int_{0}^{2\pi}\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}h(\lambda,\theta)\cos{\theta} {d\theta} d\lambda
I need help on how to write a Matlab code for the following normalized global errors:
l_{1}(h)=\frac{I[|h(\lambda, \theta)-h_{T}(\lambda, \theta)|]}{I[|h_{T}(\lambda, \theta)|]}
l_{2}(h)=\frac{\{I[(h(\lambda, \theta)-h_{T}(\lambda, \theta))^2]\}^{1/2}}{\{I[h_{T}(\lambda, \theta)^2]\}^{1/2}}
l_{\infin}(h)=\frac{\max_{all\lambda,\theta}|h(\lambda, \theta)-h_{T}(\lambda, \theta)|}{\max_{all\lambda,\theta}|h_{T}(\lambda, \theta)|}
where h_{T} is the true solution.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by