필터 지우기
필터 지우기

how to Find the total surface area and volume of a mesh plot

조회 수: 14 (최근 30일)
siddharth rawat
siddharth rawat 2016년 11월 16일
댓글: Star Strider 2018년 4월 4일
I have a 2D matrix (attached) containing the height information of a 3D object. I would like to know how to calculate the volume and total surface area of this mesh plot. considering each square pixel has a side length of 0.1 microns.
  댓글 수: 3
siddharth rawat
siddharth rawat 2016년 11월 16일
I am a total noob, A small code would be helpful.
Thanks in Advance
KSSV
KSSV 2016년 11월 16일
Check the link..the link got code.

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

채택된 답변

Star Strider
Star Strider 2016년 11월 16일
I’ve not done surface or volume integrals in a while, so I went back to Thomas and Finney.
See if this does what you want:
D = load('siddharth rawat h1.mat');
h1 = D.h1;
Vol = trapz(trapz(h1));
DxDy = gradient(h1);
Surface = trapz(trapz(sqrt(DxDy.^2 + DxDy'.^2 + 1)));
Vol =
6668.8
Surface =
11368
  댓글 수: 7
siddharth rawat
siddharth rawat 2016년 12월 11일
Thanks for the code @star strider. this was really helpful in my research, I really appreciate your help.
Star Strider
Star Strider 2016년 12월 11일
As always, my pleasure.

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

추가 답변 (1개)

KSSV
KSSV 2016년 11월 16일
  댓글 수: 2
murk hassan memon
murk hassan memon 2018년 4월 4일
편집: murk hassan memon 2018년 4월 4일
i want to find out the Mean corpuscular volume (MCV). for mcv we must have volume of red blood cells so my question is how to calculate the volume of red blood cells for which i have also attached the image of normal red blood cell. any answer will highly be appreciated.
Star Strider
Star Strider 2018년 4월 4일
It’s not possible to determine Mean corpuscular volume (link) from a peripheral smear.

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

Community Treasure Hunt

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

Start Hunting!

Translated by