convert 1D to 3D

조회 수: 5 (최근 30일)
Farshid Daryabor
Farshid Daryabor 2020년 1월 28일
댓글: Farshid Daryabor 2020년 1월 28일
Please find the attached file that included "LEV(57*1), LON(100*1) and LAT(44*1)" parameters. I want to convert "LEV" to LEV(57*44*100). Thanks for your kind help.
  댓글 수: 3
Farshid Daryabor
Farshid Daryabor 2020년 1월 28일
I would to plot a profile corresponding to a specific longitude and latitude. Thanks
Guillaume
Guillaume 2020년 1월 28일
I would to plot a profile corresponding to a specific longitude and latitude
You don't have this information at the moment. You would indeed need a 57*44*100 matrix to do this, but it needs to be something you already have, you can't make it up.
I suspect that the LEV you have is the profile at ONE of these latitude/longitude coordinates.

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

채택된 답변

Selva Karna
Selva Karna 2020년 1월 28일
clc
clear all;
close all;
load('ZYX.mat')
z=zeros(44,57);
z(:,1)=LAT;
z(1,:)=LEV;
z(1,1,1:100)=LON;
volshow(z)
  댓글 수: 5
Guillaume
Guillaume 2020년 1월 28일
It makes no sense to construct a volume taking some values from the latitude and longitude and some from the measurement at these coordinates. LAT and LON are the coordinates of the points in the volume, they're not the volume data.
Farshid Daryabor
Farshid Daryabor 2020년 1월 28일
Dear Guillaume, You are right, I did other way. Thanks

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by