Borrar filtros
Borrar filtros

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

14 visualizaciones (últimos 30 días)
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 comentarios
siddharth rawat
siddharth rawat el 16 de Nov. de 2016
I am a total noob, A small code would be helpful.
Thanks in Advance
KSSV
KSSV el 16 de Nov. de 2016
Check the link..the link got code.

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 16 de Nov. de 2016
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 comentarios
siddharth rawat
siddharth rawat el 11 de Dic. de 2016
Thanks for the code @star strider. this was really helpful in my research, I really appreciate your help.
Star Strider
Star Strider el 11 de Dic. de 2016
As always, my pleasure.

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 16 de Nov. de 2016
  2 comentarios
murk hassan memon
murk hassan memon el 4 de Abr. de 2018
Editada: murk hassan memon el 4 de Abr. de 2018
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 el 4 de Abr. de 2018
It’s not possible to determine Mean corpuscular volume (link) from a peripheral smear.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by