How can I plot acquired matrix data

조회 수: 1 (최근 30일)
Sam Hurrell
Sam Hurrell 2020년 11월 12일
답변: KSSV 2020년 11월 12일
I have multiple data sets as matrix's: (x,y,C),(x,z,C), or (y,z,C). They are all 2D data slices exported from comsol, with coloumns 1-2 as the axis (x/y/z) and the 3rd column as the output value 'C'. The maximum axis value is x=0.1, y=0.2, z=0.5, and the min values are all 0. Values usually have up to 16 decimal places but should be rounded to 3dp. I want to present each matrix as either a pcolor 2D map or a surf plot, with the result being C. A typical matrix would look like this:
X Y C
0.04 0.069608 0.082662
0.043 0.074804 0.115348
0.045 0.074804 0.119363
0.048 0.076536 0.134744
(but the largest dataset is ~135,000 rows)

답변 (1개)

KSSV
KSSV 2020년 11월 12일

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by