How to calculate a integral for a 4D array?

조회 수: 1 (최근 30일)
R.N.
R.N. 2019년 6월 10일
댓글: Steven Lord 2019년 6월 11일
I am trying to calculate the depth integrated freshwater content. My dataset (Sal) is 1442 (lon) x 233 (lat) x 65 (depth) x 84 (time). I am trying to calculate the integral from z1 to z2 of [(34.8 - Sal(z))/34.8] dz. z1 is depth = 0, Sal(z) is the salinity at depth z, and z2 is depth level where Sal(z) = 34.8.
  댓글 수: 1
Steven Lord
Steven Lord 2019년 6월 11일
Moved from R.N.'s flag:
My question was unclear and I did not receive the help I was looking for. I figured out the answer to my question on my own.

댓글을 달려면 로그인하십시오.

답변 (1개)

Andreas Bernatzky
Andreas Bernatzky 2019년 6월 11일
Hey R.N. I think it makes more sense to make a simple cubic integral and show its value along the time variable?

카테고리

Help CenterFile Exchange에서 Computational Geometry에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by