Create a grid from column data
조회 수: 14 (최근 30일)
이전 댓글 표시
I am trying to create a grid from column data. I have 3 columns, an X coordinate, a Y coordinate, and a column of values (in this case salinity) measured at the X Y locations. I want to turn this data into a grid and then create a countour plot. I can do the plotting bit but I can't find a simple way of transforming the column data to gridded data. I am a little new to Matlab and any help would be greatly appreciated.
댓글 수: 0
채택된 답변
Image Analyst
2012년 5월 29일
Try TriScatteredInterp().
댓글 수: 2
Walter Roberson
2012년 6월 14일
Minor hints: http://www.mathworks.com/matlabcentral/answers/41105-creating-a-meshplot-with-only-x-y-and-z-vectors-not-matrices
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!