convert 1D to 3D
Ältere Kommentare anzeigen
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 Kommentare
Guillaume
am 28 Jan. 2020
You currently have 57 elements in LEV. In total with your 3 matrices, you have 57+100+44 == 201 elements. You tell use you want a new matrix with 57*44*100 == 250800 elements. Where do the extra elements come from? Why do you want a 3D matrix?
Farshid Daryabor
am 28 Jan. 2020
Guillaume
am 28 Jan. 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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!