Tessa Kol
Followers: 0 Following: 0
Feeds
質問
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 ...
約3年 前 | 2 件の回答 | 1
2
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 0 件の回答 | 0
0
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 2 件の回答 | 0
2
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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)...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 3 件の回答 | 0
3
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 2 件の回答 | 1
2
回答回答済み
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...
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...
約4年 前 | 0
| 採用済み
質問
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)...
約4年 前 | 2 件の回答 | 0
2
回答質問
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] = ...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 2 件の回答 | 0
2
回答回答済み
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...
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...
約4年 前 | 0
| 採用済み
質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 3 件の回答 | 0
3
回答質問
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...
約4年 前 | 0 件の回答 | 0
0
回答回答済み
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),[...
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),[...
約4年 前 | 0
| 採用済み
質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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,...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約4年 前 | 1 件の回答 | 1
1
回答質問
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 ...
約4年 前 | 2 件の回答 | 0