# V.D-C

Last seen: bijna 4 jaar ago Active since 2020

Followers: 0   Following: 0

#### Feeds

View by

Filling the area between curves (loglog)
Not very elegant, but I found that the best solution was to create manually: x = [cc(1:idx(1)) fliplr(cc(1:idx(1)-1))]; y =...

bijna 4 jaar ago | 0

| accepted

Question

Filling the area between curves (loglog)
Hello, I would like to fill the area between the two lines (on the interval 10^-2 & 10^-1): I tried creating my own p...

bijna 4 jaar ago | 2 answers | 0

### 2

Question

Reducing the resolution of a matrix
Hello, I have a DEM that has a 2m resolution, and I would like to reduce this resolution to 250m so I can work with a tempera...

bijna 4 jaar ago | 1 answer | 0

### 1

Question

Replicating a curve with frequency and area
Hello, I was asked to replicate the figure attached to this message. I have a vector of glacier areas (in square-kilometer)...

bijna 4 jaar ago | 1 answer | 0

### 1

Question

Excel "Open method of Workbooks class failed"
Hello, I am working with 3 functions running in parallel with parfor, and they are supposed to give approximately 3000 output...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

Matfile modify the variable of a structure
Hello all I need advices on how to use matfile(). I have a .mat file which is a structure. This file is called '2019hydro.m...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

What is the best way to implement thousands of data in multiple matrices ?
Hello, I have a folder with 10.000 .mat files, each of them is a structure with 8 different variables (one value each). Each...

ongeveer 4 jaar ago | 2 answers | 0

### 2

Question

Functions working with parfor but not parfeval
Hello, I am currently working on a code where I want to accelerate a bit the process with some parallel computing. I have 2 ...

ongeveer 4 jaar ago | 0 answers | 0

### 0

Question

Parfor loop: how to keep the temporary variables ?
Hello, I am working with a time-consuming code and I want to put in parallel computing the independant functions I use. I ha...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

Imposing variable in script
Hello everybody, I am currently working with a script that uses many functions and sub-functions. The issue is that I have a ...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

Access automatically substructures from loop
Good morning everybody, I hope everything is good for you, I am working with large structures and I want to automatize some t...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

Making a square figure with pcolor
Hello, I have 2 matrices for x and y coordinates, and a matrix of temperatures. From the matrices, I make 2 coordinate vector...

meer dan 4 jaar ago | 2 answers | 0

### 2

Question

Plotting temperatures in a changing coordinate system
Hello, I apologize in advance if what I write is confused, it is difficult to put my problem into words. I have a temperatu...

meer dan 4 jaar ago | 0 answers | 0

### 0

Question

Get row and column of the closest value of a matrix from a variable
Hello, I have a latitude vector of dimensions 17 x 1. I have a latitude matrix of dimension 300 x 300. I would like to find ...

meer dan 4 jaar ago | 1 answer | 0

### 1

Question

Set colorbar outside the window
Hello, I would like to know if it is possible to display the colorbar outside the window ? (further to the right, outside the...

meer dan 4 jaar ago | 1 answer | 0

### 1

Make NaNs transparent with pcolor
Ok I managed to find where it was blocking everything. The issue is that I was setting a black background for the second figure...

meer dan 4 jaar ago | 0

| accepted

Question

Make NaNs transparent with pcolor
Hello, I have a matrix with NaNs and other values. I plot in the background a land mask on which the values overlay. But, bec...

meer dan 4 jaar ago | 1 answer | 2

### 1

Question

Save figure with black background and window
Hello everybody, I have several figures with black background, and I would like to save them and do something similar to the ...

meer dan 4 jaar ago | 1 answer | 1

### 1

Question

Make coastline contour from DEM (3d matrix)
Hello, I have a DEM, 3d matrix with elevation coordinates depending on the xy location. I would like to create a plot (or mat...

meer dan 4 jaar ago | 1 answer | 0

### 1

Question

How to filter out NaNs on images ?
Hello everybody, I would like to create a map where I can assign a brownish color to the areas inside the black contour lines...

meer dan 4 jaar ago | 1 answer | 0

### 1

Question

Cropping out the image/generating image the same size as the matrix it comes from
Hello, So I have a matrix that I display with imagesc(). I gray it in order to apply imcontour(), and plot this contour on th...

meer dan 4 jaar ago | 1 answer | 0

### 1

Question

Construct a vector from another, but add 2 values every 10 iteration
Hello ! I would like to create a vector B from a vector A, and at every 10th iteration, implement 2 times the same value from...

meer dan 4 jaar ago | 1 answer | 0

### 1

Question

Create a gaussian from x values
Hello ! I have a 1x301 array (vector V) of equally sparsed values generated with linspace(0,1,301) and I would like to create...

meer dan 4 jaar ago | 1 answer | 0