필터 지우기
필터 지우기

How to change the matrix form?

조회 수: 2 (최근 30일)
MINWOO SEOK
MINWOO SEOK 2020년 3월 4일
댓글: MINWOO SEOK 2020년 3월 4일
I want to draw some factor on the map.
I have a data that array like below..
longitude/latitude/data
120 / 7 / 50
120 / 6 / 90
120 / 5 / 55
121 / 7 / 57
121 / 6 / 13
121 / 5 / 16
122 / 7 / 70
122 / 6 / 19
122 / 5 / 10
As I know, in order to use m_contour or m_pcolor, I have to matrix like below
120 121 122
7 50 57 70
6 90 13 19
5 55 16 10
How can I change the array of matrix..???
Please help me somebody~~

답변 (1개)

Amit
Amit 2020년 3월 4일
Not clear what you exacly expect, if some more clarity you can give on the problem, that would be helpful.
if it helps:
  댓글 수: 1
MINWOO SEOK
MINWOO SEOK 2020년 3월 4일
Thank you for answering me.
However, these data were not equal to one by one.
For example,
A = (120,6,90; 120,5,55; 121,7,10; 121,5,16) %% (longitude, latitude, value)
120 121
7 NaN 10
6 90 NaN
5 55 16
Anyway, thank you for your help again!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by