Christina

Active since 2011

Followers: 0   Following: 0

View badges

Feeds

View by

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

ongeveer 9 jaar ago | 1

Question

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

ongeveer 9 jaar ago | 2 answers | 0

2

answers

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 2 answers | 0

2

answers

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 4 answers | 0

4

answers

Question

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

ongeveer 9 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 9 jaar ago | 2 answers | 1

2

answers

Question

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

ongeveer 9 jaar ago | 3 answers | 0

3

answers

Question

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

ongeveer 9 jaar ago | 2 answers | 0

2

answers

Question

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

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question

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

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question

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

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question

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

meer dan 10 jaar ago | 0 answers | 0

0

answers

Question

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

bijna 11 jaar ago | 2 answers | 0

2

answers

Question

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

bijna 11 jaar ago | 1 answer | 0

1

answer

Question

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

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Question

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

meer dan 11 jaar ago | 4 answers | 1

4

answers

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

bijna 12 jaar ago | 0

Question

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

bijna 12 jaar ago | 4 answers | 1

4

answers

Question

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

bijna 13 jaar ago | 1 answer | 0

1

answer

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

bijna 13 jaar ago | 0

Question

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

bijna 13 jaar ago | 1 answer | 0

1

answer

Question

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

bijna 13 jaar ago | 1 answer | 0

answer