# Christina

Attivo dal 2011

Followers: 0   Following: 0

Visualizza badge

#### Feeds

Visto da

Risposto
Find closest values in an array of x and y coordinated compared to a given set of coordinates
Actually I found the solution: I created a table with the x and y coordinates: The small code is: *********** tabl...

circa 9 anni fa | 1

Domanda

Find closest values in an array of x and y coordinated compared to a given set of coordinates
Hello all, I've got two vectors of coordinates x = linspace(400000,500000,100) and y = linspace(100000,200000,100) ...

circa 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

How to interpolate between two vectors of timeseries and get outputs of the vector timeseries with the coarser resolution?
Hello all, I've got two vectors of timeseries and the corresponding datasets. 1. So, I've got time_observed = [2003-01-...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Plot outside a for loop with different plotstyles
Hello all, I've got a vector a with 20 values and a for loop, through which I want to plot the variables var1 and b %%%...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to add an additional tick on y-axis for a combined boxplot and scatter plot?
Hello all, I've got 15 horizontal boxplots that reach up until y=1.6 and a scatter plot on the same figure, where the scatter...

circa 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Cannot plot additional scatter points in a boxplot
Hello all, I've got 15 horizontaly orientated boxplots in the same graph with 15 column vectors (x1, x2... x15) each with a...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Loading multiple .mat or Excel files and maniplulate them in a double for loop
Hello, I've got 3 .mat files, saved in an excel format as well with a size each 4x1. These are var1, var2 and var3. I'd...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How can I load lots of files with a for loop and then multiply them by a vector
Hello all, I've got three .mat files each with size 100x1 variable1_data.mat variable2_data.mat variable3_data.mat...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Create a vector with known indices and assign to that values from known vectors
Hello all, I've got three vectors, with size 1x5 var1 = [ 5 6 7 8 9] var2 = [11 12 13 14 15] var3 = [17 18 19 20 21...

circa 9 anni fa | 4 risposte | 0

### 4

risposte

Domanda

Hold on command does not work for boxplot and additional plot
Hello all, I've got a boxplot (with horizontal orientation) with data: a= [x1;x2;x3;x4;x5;x6;x7;x8;x9;x10;x11;x12;x13;x...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Command 'hold on' does not work for boxplot when overlapping a figure
Hello, I've got a boxplot with xlimits from 0.1 to 1.0 and from ylimits from 0 to 1.6. I want to overlap a plot of just 5 ...

circa 9 anni fa | 2 risposte | 1

### 2

risposte

Domanda

Replace some values of a vector with another vector which has a different size
Hello I've got the vector: source = [ 0 0 1 0 1] and the vector a = [2 3], which has a different size to source. ...

circa 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Assigning values to vectors of different lenghts
Hello, I've got three vectors, say a(1x4), b(1x4) and c(1x10). Vectors a and c represent the same thing, they are just codes....

circa 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Contour plot with 3 vectors and x, y vectors on a logarithmic scale
Hello, I've got 3 vectors x =[10^(-10) 10^(-9) 10^(-8) 10^(-7) 10^(-6) 10^(-5) 10^(-4) 10^(-3) 10^(-2)] y =[10^(-10) 10...

oltre 10 anni fa | 0 risposte | 0

### 0

risposte

Domanda

How to write a large matrix to a comma separated file
Hello, I've got a huge matrix (20000 x 3000) and I want to write it to a csv file. Until now, where the size of my matrice...

oltre 10 anni fa | 0 risposte | 0

### 0

risposte

Domanda

How to split x-axis (6 years of timeseries) with datetick into monthly intervals?
Hello, I've got my time series data of 6 years plus and I would like to plot them in that way so that in the x-axis I would ...

oltre 10 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to split x-axis (6 years of timeseries) with datetick into monthly intervals?
Hello, I've got my time series data of 6 years plus and I would like to plot them in that way so that in the x-axis I would ...

oltre 10 anni fa | 0 risposte | 0

### 0

risposte

Domanda

fminsearch with if statement
Hello all, I need to optimise two parameters by minimising by objective function. I've got an equation that has got two...

quasi 11 anni fa | 2 risposte | 0

### 2

risposte

Domanda

if statement gives wrong results or does not work?
Hello, I've got the following if statement within a for loop. In the beggining, i thought it's quite straight forward. I'v...

quasi 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Reading multiple netcdf files and then produce a single Matlab matrix
Hello, I've got various netcdf file, in total 1000. In order to make things easier, I'm working with 3 of them at the momen...

circa 11 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Delete rows in a matrix that contain ONLY a negative number
Hello I've got a really large matrix (say 2000 x 3000) and I want to delete the rows that contain ONLY the negative number -9...

oltre 11 anni fa | 4 risposte | 1

### 4

risposte

Risposto
Error in loading a very large matlab file
Thanks everyone for the replies. I've got now matlab R2012a, I tried to work with the 'matfile' command, but it is not helpfu...

quasi 12 anni fa | 0

Domanda

Error in loading a very large matlab file
I need to load a 14.6 GB .mat file. However, the maximum possible array that Matlab can produce is 13.8 GB. Also, the total m...

quasi 12 anni fa | 4 risposte | 1

### 4

risposte

Domanda

how to amend an existing text file in a certain line and create new ones
Hello all I've got a text file and I need to change only one parameter of it many times (in a for loop). Until now, I've l...

oltre 12 anni fa | 1 risposta | 0

### 1

risposta

Risposto
change values in a text file, save it and run it with an executable
My text file looks like: comments....... comments....... 5, 5, 5, 5, ! parameter A That line (with the parameter A) ...

quasi 13 anni fa | 0

Domanda

change the resolution of time series from hourly to 30min
Hello all! I've got some hourly data and I want to transpose it to 30min data. For example for the variable 1, I've got th...

quasi 13 anni fa | 1 risposta | 0

### 1

risposta

Domanda

change values in a text file, save it and run it with an executable
Hello all! I've got a text file that contains all the necessary parameters (80 in total) that I need in order to run it with ...

quasi 13 anni fa | 1 risposta | 0

risposta