Issues with surface plotting using a large table of data

조회 수: 1 (최근 30일)
Kyle Watkins
Kyle Watkins 2023년 11월 29일
답변: Walter Roberson 2023년 11월 29일
I have a table of scanned data that I am trying o plot using a mesh or surf plot and I am running into the issue of the dimensions of my vectors and matricies not agreeing and I am unsure what to do. I have a table that is 12x54 and two other vectors that are 12x1 and 54x1. What should I do to make them agree and to ge the plot?

채택된 답변

Walter Roberson
Walter Roberson 2023년 11월 29일
surf(vector_of_length_54, vector_of_length_12, Your_12_by_54_data)
Remember that horizontal (rows) corresponds to Y axes, and vertical (columns) corresponds to X axes.

추가 답변 (0개)


Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기




Community Treasure Hunt

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

Start Hunting!

Translated by