photo

V.D-C


Last seen: ungefär 4 år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Answered
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 =...

ungefär 4 år 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...

ungefär 4 år ago | 2 answers | 0

2

answers

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...

ungefär 4 år ago | 1 answer | 0

1

answer

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)...

ungefär 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 2 answers | 0

2

answers

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 ...

mer än 4 år ago | 0 answers | 0

0

answers

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...

mer än 4 år ago | 1 answer | 0

1

answer

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 ...

mer än 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 2 answers | 0

2

answers

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...

mer än 4 år ago | 0 answers | 0

0

answers

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 ...

mer än 4 år ago | 1 answer | 0

1

answer

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...

mer än 4 år ago | 1 answer | 0

1

answer

Answered
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...

mer än 4 år ago | 1

| 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...

mer än 4 år ago | 1 answer | 2

1

answer

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 ...

mer än 4 år ago | 1 answer | 1

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

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...

nästan 5 år ago | 1 answer | 0

1

answer

Question


How to increment a v value to an i position in a vector every n iterations ?
Hello, In the context of meshing for a 1D finite elements method, I have a vector with 1 row and n columns (nodes). I divide ...

nästan 5 år ago | 1 answer | 0

1

answer