Community Profile

photo

Yoni Verhaegen -WE-1718-


Last seen: 2 dagen ago Active since 2019

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Content Feed

View by

Question


How to transform data to have new minimum, maximum and average values?
Hi all, I have the following dataset with min = -6.3, max = 1.0 and mean = -3.3. Is there an easy way in matlab to transform th...

2 maanden ago | 2 answers | 0

2

answers

Question


Displaying 3D data with adjusted transparency values in Matlab
I have a 3D matrix of size 300x178x124 that I plot using the slice command: diff = double(squeeze(glacier)); diff(diff==0)=nan...

3 maanden ago | 0 answers | 0

0

answers

Question


How to set surface transparency based on value?
Hi, I am plotting a surface and I want to add transparancy based upon the value of z2. Namely, if z2 = max(z2), the transparenc...

5 maanden ago | 1 answer | 0

1

answer

Question


How to overlay a surf plot with a 2D matrix
Hi all, I have a 3D matrix (300x178x125) describing the surface of a glacier, which is plotted with the slice command: clear a...

5 maanden ago | 0 answers | 0

0

answers

Question


How to calculate circular mean every 8 cells?
Hi all, I have a dataset with wind directions at 3-hourly time steps and I would like to calculate daily average wind direction...

6 maanden ago | 1 answer | 0

1

answer

Question


Implementation of 2D advection equation with second order upwind scheme?
Hi all, I am trying to numerically discretize a 2D advection equation to model the transport of rocks with thickness (h_debris...

7 maanden ago | 1 answer | 0

1

answer

Question


How can I model temperature advection due to percolating rain water?
Hi, I have a vertical column of a rock layer with the following vertical temperature distribution in Kelvin: Td = [305....

8 maanden ago | 1 answer | 0

1

answer

Question


How do I change the x labels on a boxchart plot?
I have a script for a boxchart plot, but I cannot find anywhere how to change the labels of the x axis. I want the 1, 2 and 3 re...

8 maanden ago | 1 answer | 0

1

answer

Question


How to reverse gradient of colormap in Matlab?
I have the data below in Matlab: However, when I plot it, yellow is given to the values close to 1 and dark blue to the values ...

8 maanden ago | 1 answer | 0

1

answer

Question


How to increase temporal resolution from 3-hourly to hourly data with interpolation?
I have a dataset of temperatures measured at 3-hourly intervals which looks like this: 0 1.37660000000000 3 4.576600000000...

12 maanden ago | 1 answer | 0

1

answer

Question


How to reproject and resize a raster to match another raster of different resolution and coordinates?
Hi all, I have a first DEM of the area of the area around a glacier in the European Alps, which is in UTM zone 32N (EPSG 32632)...

meer dan een jaar ago | 0 answers | 0

0

answers

Question


How to calculate land surface temperture from Landsat8 imagery in Matlab?
I have downloaded some Landsat 8 imagery and I want to calculate the LST (Land Surface Temperature) from these images in MATLAB....

meer dan een jaar ago | 0 answers | 0

0

answers

Question


How to make a discrete colorbar with specified intervals?
Hi all, I want to change the default colorbar to a discrete one (i.e. with blocks) of non-evenly spaced intervals. I uploaded...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


How to plot polygon from shapefile in Matlab
Hi all, I have the following polygon, which should represent the borders of Belgium, The Netherlands and Luxemburg. I am howev...

bijna 2 jaar ago | 1 answer | 0

1

answer

Answered
How to write lat,lon,data into geotiff with matlab?
For those searching for the same question: I wasn't able to write the file into a GEOTIFF in Matlab. I resolved the problem this...

bijna 2 jaar ago | 0

Question


How to write lat,lon,data into geotiff with matlab?
I have the following (attachment): - 2D latitude file (240x446) - 2D longitude file (240x446) - 2D surface elevation chang...

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


How to unzip .bz2 file in Matlab?
How can I unzip the following .bz2 automatically in Matlab to reveal the grib file inside? clear all close all fullURL1 = s...

bijna 2 jaar ago | 0 answers | 0

0

answers

Question


How to find last non-NaN element and replace it with NaN?
How can I find for each row of the matrix in Matlab the index of the last non-NaN element and replace these values with NaN? Th...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


Use subscript and superscript in legend
Hi all, I am wondering how to implement text in a legend with both a superscript and a subscript, and with an horizontal bar,...

ongeveer 2 jaar ago | 3 answers | 0

3

answers

Question


Create gif from images in matlab
I have 5 images created with Matlab: seabreeze_3.png seabreeze_6.png seabreeze_9.png seabreeze_12.png seabreeze_15.png I w...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Convert datetime into seperate columns
I have a CSV table that I load in Matlab and looks as follows (see below). I would like to separate the datetime column into sep...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Matlab: change position of ylabel
I was wondering if it is possible to change the position of the ylabel. I would like to move it down (as suggested on the attach...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


How can I convert time from seconds to decimal year in Matlab?
I have a dataset which includes the seconds that have passed since 2000-01-01 00:00:00.0 and I would like them to be converted t...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Convert large xyz file into grid
I have a large XYZ file (300276x3, this file includes x and y coordinates (not lat/lon, but polar stereographic) and elevation z...

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


How to merge multiple xyz files into 1 large array
I have a set of 501 XYZ files which I load in as for k = 1:501 % AIS SEC data AIS_SEC{k} = importdata(['A...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


Location of discrete colorbar ticklabels
Hi all, I plotted an imnage with a custom color map and a discrete color bar with the following code (see code and figure below...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


How to find intersection of 2 non-equally sized arrays in matlab
I have two non-equally sized arrays with irregular intervals. How can I find the x,y coordinate of the intersection point in Mat...

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


how to open gri file in matlab?
I have the following .gri file, how can I read and display it in Matlab? https://filebin.net/a9x78wwg7dpeaw37 Thanks!

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


How can I write a GeoTiff file with corresponding coordinates?
I have the following: a latitude array 'lat' (1x1128 single) a longitude array 'lon' (1x968) a value matrix 'value' (1128x968...

meer dan 3 jaar ago | 2 answers | 0

2

answers