How do I code normalized global errors in Matlab?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!