Plotting 3D cube as 2D layers

4 visualizaciones (últimos 30 días)
The Sanchi
The Sanchi el 5 de Jun. de 2020
Comentada: The Sanchi el 29 de Nov. de 2020
Hello,
I have a mathlab code for 3D data which were generated using "For" loops with multiple iterations. To be specific, the following "(function)" s are from equations of finite difference analysis.
ic = 0
for i = 1:100
for x = 1:N
for y = 1:N
for z = 1:N
V1(x,y,z) = (function)
V2(x,y,z) = (function)
V3(x,y,z) = (function)
end
end
ic = ic + 1
if ic>10
ic =0
end
end
"(function)" example: V2(x+1,N-1,k-1)+V1(x-1,N-2,k+1)...so on
I want to plot V1(x,z) 2D layer with a fixed value of "y". Example V1(:,1,:). I could not find a way to do it.
Also I would like to know what are the other ways i can generate different plots to analyze the V1,V2 and V3
Thank you !!!!!!!
  5 comentarios
The Sanchi
The Sanchi el 29 de Nov. de 2020
thank you darova & Rafael, my project was stopped for a while.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by