photo

V.D-C


Last seen: circa 4 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

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

circa 4 anni fa | 0

| accettato

Domanda


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

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 1

| accettato

Domanda


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

oltre 4 anni fa | 1 risposta | 2

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta