Create a 2D grid from two matrices.
Show older comments
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 Comments
Geoff Hayes
on 8 Mar 2016
Fiona - can you attach your data to your question?
Fiona
on 11 Mar 2016
KSSV
on 11 Mar 2016
The above data gives grid as below.

Geoff Hayes
on 12 Mar 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?
Fiona
on 15 Mar 2016
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!