photo

Erik J


1985

Last seen: 2 månader ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Playing audio in the background while running another function
I want to play audio using AudioFileReader and while that audio is playing, I want to run a separate loop that asks for user inp...

mer än ett år ago | 1 answer | 0

1

answer

Question


How to randomize order of functions
I have a function that calls a number of sub-functions. Each of these sub-functions is a test with slight differences but the sa...

mer än ett år ago | 2 answers | 0

2

answers

Question


Combining columns in a table into comma separated values while skipping NaN
I have many tables where I need to combine values that are not NaN from one column with another column, separated by commas. Th...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Extracting survey data from individual files and combining
I have folder containing thousands of individuals files. In each file is text (representing a survey response) of the following ...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


Converting table column of cell arrays to column with comma separated values
I have a table where most columns are single values, but two columns are cells that contain multiple values (e.g., 3x1, 4x1, 5x1...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Too many input arguments for RMS - sudden issue
Suddenly, code that has long worked no longer does. Part of the code uses the rms function. The error I get is "too many input a...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Two simple questions about listdlg
1) Is it possible to change the font size in listdlg? 2) Is it possible to somehow make it so multiple elements can be selected...

nästan 4 år ago | 1 answer | 0

1

answer

Answered
Sort rows of a table based on vector
I was able to figure this out. new_table = zeros(500,8); new_table = array2table(new_table); a = randperm(500); for ii=1...

nästan 4 år ago | 0

| accepted

Question


Sort rows of a table based on vector
I have a table, Table_A, with 500 elements. I have a vector, x, with number 1:500 in a random order. I want to rearrange the t...

nästan 4 år ago | 2 answers | 0

2

answers

Question


Finding elements of one vector that are closest to elements of another
I have two vectors, x and y. Both vectors contain numbers from 0 to 1. Vector x is 964 elements. Vector y is 51 elements. I ne...

ungefär 4 år ago | 2 answers | 0

2

answers

Question


Getting rid of duplicate values in pairwise matrix to obtain single vector?
Hello. I have a large (11000x11000) matrix of pairwise distances between 11000 points. I need to make a histogram of these dista...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Function for histogram of distances based on GPS coordinate data?
I have a matrix of GPS coordinates. I would like to create a histogram with bins showing how many corrdinates are 1 meter apart,...

mer än 4 år ago | 1 answer | 0

1

answer

Question


Issue creating a probability density function for audio file
Hello. Thank you in advance. I want to generate probability density functions of amplitudes from audiofiles. However, when I us...

nästan 5 år ago | 1 answer | 0

1

answer

Question


Subplot problem - plots are on top of each other?
I have a script that creates 2 plots. I would like them to be next to each other in a typical subplot form. However, when I run ...

ungefär 5 år ago | 1 answer | 0

1

answer

Question


Black and Grey Bars in Barplot
Hello, I have a barplot with two groups plotted next to each other (see code below). I cannot for the life of me get the bars t...

mer än 5 år ago | 1 answer | 0

1

answer

Question


Hiding x and y axes, but leaving top and right axes visible?
I have a plot and I want to leave the top and right axes but hide the traditional x and y axes. I cannot figure out a way to do ...

ungefär 6 år ago | 1 answer | 0

1

answer

Question


How to combine subplots so they share axes?
I have a 2x2 subplot. All four subplots have the same x and y axes. I would like to combine the four subplots so that they share...

ungefär 6 år ago | 1 answer | 0

1

answer

Question


Concatenating cells together?
I have a cell array that is 54 x 5. Each cell in the array is Y x 5 - all have 5 columns but different numbers of rows. Each ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Using a loop to add to dataset without overwriting previous calculations
I have a code which makes a number of calculations based on a set of experimental data. The output is currently several matrices...

mer än 7 år ago | 0 answers | 0

0

answers

Question


How to create a new vector with AM/PM labels from vector of times
I have a single column vector with a bunch of times (in military time). The format of these is 12:00. I need to create a new ...

mer än 7 år ago | 1 answer | 0

1

answer

Question


Vertcat error on x-axis tick labels
I cannot figure out why I keep getting the Vertcat error (Dimensions of matrices being concatenated are not consistent) when I t...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Help with a nested loop
I am trying to create a function which loops through a data set by comparing each row to every other row, and returning a variab...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Help with a loop
I will try to explain this best I can, as well as supply the code I have so far. I have a large data set, split into separate...

nästan 8 år ago | 1 answer | 0

1

answer

Question


Sorting coordinates to group them into "places".
I have a large matrix representing points in a Euclidean plane. I need to group together all points which are within 100meters o...

nästan 8 år ago | 0 answers | 0

0

answers

Question


Writing a function to group locations
I have a large data set of locations. Currently these data are organized as a distance in meters and bearing in degrees from a c...

nästan 8 år ago | 2 answers | 0

2

answers

Question


Performing calculation across large data set
I have a large matrix of latitude and longitude coordinates (343212 x 2 double). I want to calculate the distance between each s...

nästan 8 år ago | 2 answers | 0

2

answers