필터 지우기
필터 지우기

How to calculate the volume of bathymetry

조회 수: 3 (최근 30일)
eevee
eevee 2014년 10월 24일
댓글: eevee 2014년 10월 28일
Hi,
I have just plotted a bathymetry using my xyz data. Now, I need to find the volume of the bathymetry plotted. Anyone has any ideas how can I do that?
Thanks,
Eve

답변 (1개)

Chad Greene
Chad Greene 2014년 10월 27일
Is your x,y,z data set gridded? If not, grid it, perhaps with gridfit. With your gridded data set (I'll distinguish with capital letters), you'll have some regular grid of Z values corresponding to X and Y values. If X and Y are at, say 100 meter spacing, the area of each grid box is 100x100 meters = 10,000 square meters. A matrix of volume of water in each grid box is then given by
VolumeMap = (SurfaceElevation - Z)*(100*100).
And total volume of water in cubic meters is given by
sum(VolumeMap(:))
  댓글 수: 1
eevee
eevee 2014년 10월 28일
Hi Chad,
Thanks. Yes, my xyz has been gridded. But I have included my land data in the volume calculation and now my lecturer gave me the xyz files of the land data. I was asked to use the land data in my matlab script to tell matlab not to included the land data into the calculation. So, now I do not know how to tell matlab about that. Any ideas?
Thanks,
Eve

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

카테고리

Help CenterFile Exchange에서 Structural Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by