Community Profile

photo

Tessa Kol


Last seen: 2 years ago Active since 2020

Statistics

  • Thankful Level 2
  • Explorer
  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


Remove successive rows from a table where a specific column value is duplicated
Dear all, I have the following csv-file (see attachement). If I take a sample set from this dataset as an example here: time ...

2 years ago | 2 answers | 1

2

answers

Question


Validate gaussian process regression model with leave-one-out cross validation
Dear all, I have a dataset with: X = Torque (the input variable) Y1 = Response 1 Y2 = Response 2 Y3 = Response 3 I want to...

3 years ago | 0 answers | 0

0

answers

Question


Obtain partial or intermediate (output) results from genetic algorithm
Dear all, I defined a very long function to be optimized by the genetic algorithm. How do I obtain the output of (predict(Mod...

3 years ago | 0 answers | 0

0

answers

Question


Multiple y axes with multiple plots on single x axis
Dear all, I tried to plot three y-axis where each y-axis contains two lines. I used the approach described in this post: https:...

3 years ago | 1 answer | 0

1

answer

Question


Locating point on x-axis where the slope is decreasing
Dear all, I used the following code to plot the angle over time: figure hold on grid on plot(Time, theta,'linewidth',1.5) ...

3 years ago | 2 answers | 0

2

answers

Question


Rearrange data plot3 and combine data points
Dear all, The following piece of code creates a 3D plot. Normally I import the mass data from a .csv file, but for convenience ...

3 years ago | 1 answer | 0

1

answer

Question


Surface plot using fitrpg
Dear all, I tried to make a surface plot of the gaussian process function with the following code: gprMdl = fitrgp(X,Y1,'Kerne...

3 years ago | 1 answer | 0

1

answer

Question


Plot gaplotdistance in one plot for multiple runs of genetic algorithm
Dear all, With the code below I managed to run the genetic algorithm multiple times. gprMdl2 = fitrgp(X,Y1,'KernelFunction','s...

3 years ago | 1 answer | 0

1

answer

Question


Index in position 2 exceeds array bounds using crossval
Dear all, I got the following error when using crossval. Error using crossval>evalFun (line 488) The function '@(Xtr,Ytr,Xte)...

3 years ago | 1 answer | 0

1

answer

Question


Assign values of .mat files into matrix
Dear all, I have multiple .mat files (see attachment). I want to organize the MFR_mod variables within the those .mat files int...

3 years ago | 3 answers | 0

3

answers

Question


Classify imported files from multiple folders into cell array
Dear all, I have multiple files located in multiple folders. De main folder I called 'test'. De main folder contains 6 subfolde...

3 years ago | 1 answer | 0

1

answer

Question


How to use bayesian optimization?
Dear all, I am trying to find a good way to use bayesian optimization that will give me the optimal simulation parameters that ...

3 years ago | 1 answer | 0

1

answer

Question


Points inside multiple polygon for contour
I made the following contourplot. Then, I plot discretized points over this plot. I wanted to find the (x,y) coordinates o...

3 years ago | 2 answers | 1

2

answers

Answered
Velocity vector plot with empty cell array
Solved it myself with an if else statement, see code below. for i = 1:N_run for t = 1:length(col) if cellfun(@ise...

3 years ago | 0

| accepted

Question


Velocity vector plot with empty cell array
With the following code I made a velocity vector plot over time. %% Velocity vector plot close all x_cent = mean(X(1,1:2)...

3 years ago | 2 answers | 0

2

answers

Question


Convert a non uniform cell array of cell arrays to matrix
I have the following code: %% Loading the data rhoPart = 2540; files = dir(fullfile(uigetdir,'\**\*.data*')); [~,Index] = ...

3 years ago | 1 answer | 0

1

answer

Question


Devide cell array into unequal length cells based on file name
With the following code I imported all of the .data files. All .data files of simulation 1 are located in folder 1 and all .data...

3 years ago | 1 answer | 0

1

answer

Question


Use inpolygon command for multiple polygon areas
Dear all, I have some difficulty with assigning points into multiple square polygons. I have data files containing (x,y,z) coor...

3 years ago | 2 answers | 0

2

answers

Answered
Find value in another cell array based on condition
Here the code that was succesfull for me: for i = 1:N_run %Number of simulation runs, which is for me 81 simulations s...

3 years ago | 0

| accepted

Question


Find value in another cell array based on condition
I have a folder containing the following files: Every file has the same format, but for a different time step: First (header...

3 years ago | 1 answer | 0

1

answer

Question


Error using brace indexing with function hypot
I have a number of data files where every data file is stored in a cell array. Thus, : datac.1 is stored in expData{1,1} at tim...

3 years ago | 1 answer | 0

1

answer

Question


Indexing arrays of binned data
Dear all, I have a cell array expData of 2745x1 cell. For every cell in this cell array I define the same range (i.e. bins). Th...

3 years ago | 3 answers | 0

3

answers

Question


Error using accumarray in for loop with cell array
I am having trouble with using accumarray in a for loop. Hers is my code so far: for i = 1:length(files) % Define the rang...

3 years ago | 0 answers | 0

0

answers

Answered
Group discretized data and determine mean
I found the solution myself. Here is an example for a single data file: mean = accumarray(disc_x{1,1}(:,1), expData{1,1}(:,2),[...

3 years ago | 0

| accepted

Question


Group discretized data and determine mean
Dear all, With help of the community I discretized my data, x-coordinates of particles, into bins. For every bin I want to take...

3 years ago | 1 answer | 0

1

answer

Question


Setup an optimization problem using Bayesian Optimization
Dear all, Problem:I try to find the optimal set of variables using Bayesian optimization. Before I go further into the depth,...

3 years ago | 1 answer | 0

1

answer

Question


Import range of files based on file name
I have a folder containing around 300,000 files. I don't need to import all the files. Problem: How can I import a range of fi...

3 years ago | 1 answer | 0

1

answer

Question


Import files based on file name
I have a folder containing around 300,000 files. I don't need to import all the files. Problem: How can I import the files base...

3 years ago | 1 answer | 0

1

answer

Question


How to use gaussian process regression to find the optimal set of parameters?
In a physical experiment I measured some outcome A. Then I set up a simulation of the experiment where I vary two parameters B ...

3 years ago | 1 answer | 1

1

answer

Question


Open multiple files from the same folder with fopen and textscan
In matlab I wrote the following code: fid = fopen('LedgeTest_muSP_0.20_muRP_0.20.data.852','r'); % Read all the data from the ...

3 years ago | 2 answers | 0

2

answers

Load more