Borrar filtros
Borrar filtros

convert 1D to 3D

3 visualizaciones (últimos 30 días)
Farshid Daryabor
Farshid Daryabor el 28 de En. de 2020
Comentada: Farshid Daryabor el 28 de En. de 2020
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 comentarios
Farshid Daryabor
Farshid Daryabor el 28 de En. de 2020
I would to plot a profile corresponding to a specific longitude and latitude. Thanks
Guillaume
Guillaume el 28 de En. de 2020
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.

Iniciar sesión para comentar.

Respuesta aceptada

Selva Karna
Selva Karna el 28 de En. de 2020
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 comentarios
Guillaume
Guillaume el 28 de En. de 2020
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 el 28 de En. de 2020
Dear Guillaume, You are right, I did other way. Thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by