Feeds
답변 있음
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...
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...
9년 초과 전 | 1
질문
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) ...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
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-...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 %%%...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 초과 전 | 답변 수: 4 | 0
4
답변질문
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...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 초과 전 | 답변 수: 2 | 1
2
답변질문
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. ...
9년 초과 전 | 답변 수: 3 | 0
3
답변질문
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....
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 11년 전 | 답변 수: 0 | 0
0
답변질문
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 ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 11년 전 | 답변 수: 0 | 0
0
답변질문
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...
11년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
거의 12년 전 | 답변 수: 4 | 1
4
답변답변 있음
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...
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...
12년 초과 전 | 0
질문
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...
12년 초과 전 | 답변 수: 4 | 1
4
답변질문
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...
대략 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
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) ...
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) ...
대략 13년 전 | 0
질문
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...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 13년 전 | 답변 수: 1 | 0