Question


memory errors with large amounts of csv files
I am running a model which produces thousands of csv files which i need to read into matlab. This particular run generated 27,17...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


using the title of excel spreadhseets to name graphs
I have 39 excel spreadsheets which I have inputted into matlab and created a subplot of grpahs from. I would like to name the r...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


using natsortfiles to import csv files correctly
I have been looking for a way to import many csv files into matlab in the correct order (e.g. csv1, csv2, csv3). My csv files h...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


find and save the rows where condition is met
I have a 1x3001 cell, 'y', and I want matlab to loop through all the cells and save all the rows where the value in column 2 is ...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


loop to identify new particles
I have the particle Id and y coordinates for every particle in my model over 3000s. My loop currently tells me how many grains...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


if number is already recorded don't record
My code reads data from multiple csv files, and identifies how many balls move past a certain y coordinate in each time step and...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


sum contents of array in groups of 10
My code produces a variable 'grains' which is a 1x3001 double. I want to sum together the numbers in the first 10 cells, and re...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


Operands to the || and && operators must be convertible to logical scalar values.
I am trying to run a series of data thorugh a if loop, to sum the amount of numbers between -0.13 and -0.16 found in each. When...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


display value if it lies between x and y
I have a series of csv files, which I want to input into a for loop, which tells me if any of the numbers in column 5 of the csv...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


changing the name of multiple csv files in a folder
I have a folder containing 3000 csv files. All of these are named in the format: cor0.1 sc10 fc0.1_0.csv. I want to change the ...

meer dan een jaar ago | 2 answers | 0

2

answers

Question


plot graph from cell array
I have loaded 15 excel files into matlab and saved them all as a 15x1 cell. My aim is to create 15 graphs, showing the contents...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


saving the data in a variable
I have a code which imports a set of csv files from an experiment, and processes this to find out how many particles leave a sys...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


using grabit with log scales
I have used 'grabit' from the matlab file exchange, to extract the data from a published graph to compare with my own data. The...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


length of a signal when doing fft and power spectrum analysis
I am undertaking experiments on a sandpile to understand self organised criticality and therefore want to plot a power spectrum ...

meer dan een jaar ago | 0 answers | 0

0

answers

Question


for loop to go through a cell array
I have written a code which tells me how many particles go past a certain x-coordinate for a single time step. The code accesses...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


displaying the total number of times an if statement is true
I have a for loop with an if/else loop nested inside this: xc = particledata{1}(:,5); xc_array = table2array(xc); for b = 1...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


for loop through a cell array
I have a 2001x1 cell array containing the data from 2001 .csv files. Each cell in the array contains the data for 1 time step of...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


indexing in for loop
I am working off a video of 662 continuously moving footballs and I want to track these through 10 frames in the video. I have ...

bijna 2 jaar ago | 0 answers | 0

0

answers

Question


for loop not working
I have 2 frames of a video containing 700 balls. I want to create a series of subimages, defined by the coordinates of the ball...

bijna 2 jaar ago | 1 answer | 0

1

answer

Question


assigning centroids to xy coordinates
I have identified the centroids of a series of circles on 2 frames of a video. I have tried to compute the distance between th...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


error indexing must appear last
I have a code which tracks a series of footballs in a video. I have found the coordinates for the balls in the video, and now I...

ongeveer 2 jaar ago | 0 answers | 0

0

answers

Question


cropping an image using centroids
I have an image of multiple footballs, where I have located the centroid of each football in the image. I want to crop the ima...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


finding points in a video
I have a video of a series of footballs. I have plotted the centroids of each football in each frame, which has allowed me to wo...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


tracking the rotations of a translating ball
My code tracks the translation of a series of footballs and plots velocity, but now i want to track the rotation of the balls an...

ongeveer 2 jaar ago | 0 answers | 0

0

answers

Question


displacement of particles in a video
In my code, it reads a video and converts it to a number of instantaneous frames. Then it binaries the balls and finds the centr...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


calculating velocity from centroids
I have a code which calculates the position of centroids of multiple particles through each of the video frames. I am now trying...

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


motion tracking multiple objects
i am trying to motion track multiple mini footballs. I generated a code to track 1 object using youtube, but im struggling to se...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


video in a figure
I have imported a video into MATLAB but when I play this in a figure, the figure dimensions are different to that of the video. ...

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


for end loop variable not saving
I am relatively new to coding, and I am trying to track a ball on a pendulum following an example i found online. However, in o...

ongeveer 2 jaar ago | 1 answer | 0

1

answer