Creating Well log profiles in matrix
显示 更早的评论
Bear with me please; I'm new here. In oil & gas exploration, we take vertical profiles of the subsurface, taking various measurements of rock properties continuously with depth. I think that in Matlab this would be represented by a matrix whose first column is depth, and the other columns are various other measurements(density, shear velocity, compressional velocity, gamma ray, etc.). I can build this matrix, but I cannot find a way to name the columns so as to identify which measurement is associated with which column. This is needed to cross-plot various properties vs. depth, and know what you are cross-plotting. Perhaps I am thinking of this wrongly vis-a-vis Matlab and there is a better way?
Regards, Mark Mathis
回答(1 个)
Don Adams
2021-5-19
0 个投票
Hello Mark,
The best way to associate a label with a vector of numbers is with a 2 x n cell array. The first row of cell could be data labels as strings and the second row could be the vectors of data. When yo make a crossplot you can access the data from the second row to make the plot and apply xlabel and ylabel using the strings in the frist row. It would beeasy to add a third row to track units and use them as part of the axis labels.
Don
类别
在 帮助中心 和 File Exchange 中查找有关 Seismology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!