Create a 2D grid from two matrices.
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I need to create a 2D mesh like the following:
I have a matrix (8x10 digits) with the x-values and a matrix of the corresponding y-values but am unsure how to go about making such a figure. Please note that this is not a surface rather just an irregular 2D grid.
Any help is appreciated!
5 comentarios
Geoff Hayes
el 12 de Mzo. de 2016
Fiona - how do you expect to get the pattern that you have shown in the first image given the data from above? Do you have any other information that would allow you to create the "warped" mesh?
Respuesta aceptada
KSSV
el 8 de Mzo. de 2016
As you said you have 8X10 matrices of x and y. Use the function plotgrid from the link:
Más respuestas (0)
Ver también
Categorías
Más información sobre NaNs 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!