How to create cross-section from 3d dimensional surface?

15 visualizaciones (últimos 30 días)
I transported the simulated surface's data as three (20x20) matrices X,Y,Z. So, I have a 3D plot that's generated by 3 (20x20) matrices X,Y,Z. I want to plot the YZ curve (cross section) at specified X. Moreover, the dimension of surface is really important to me, and I do not want to miss my surface feature or profile by interpolation?

Respuesta aceptada

KSSV
KSSV el 31 de En. de 2017
Editada: KSSV el 31 de En. de 2017
You define your required x values and the respective y values, use interpolation (interp2).
Read about interp2 .
  12 comentarios
Hassan Khoshzaban
Hassan Khoshzaban el 11 de Feb. de 2017
Hi I tried this code for my whole surface (23x110 matrix). It showed the misconsistency because of different degree of linearity. Is it possible to increase accuracy with using mesh grid between elements. I attach the image to show you problem. Thanks
Hassan Khoshzaban
Hassan Khoshzaban el 11 de Feb. de 2017
I attach matrixes to make it sence.

Iniciar sesión para comentar.

Más 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