Sam
Katholieke Universiteit Leuven
Followers: 0 Following: 0
Statistics
79 Questions
0 Answers
RANK
20,737
of 295,527
REPUTATION
2
CONTRIBUTIONS
79 Questions
0 Answers
ANSWER ACCEPTANCE
46.84%
VOTES RECEIVED
2
RANK
of 20,242
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,057
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Reading textfile using fopen and textscan
Hello, I've got a textfile 'test_file.txt' which you can find in attachment. At the bottom of this textfile, you can see ' [...
4 years ago | 1 answer | 0
1
answerQuestion
Why does video slow down towards the end?
Hello, I've written a code to display circles on my video every 100th frame (9000 frames in total, 25fps). At the first frame, ...
4 years ago | 1 answer | 0
1
answerQuestion
Find a specific word in a textfile and insert 2 new lines in front of it
Hello, I've got a very basic question which I can't seem to figure out. I've got a textfile in which I want to find the word ...
4 years ago | 0 answers | 0
0
answersQuestion
Use sprintf in callback function to get an output variable
Hello, I've got a very simple callback function 'countclicks', which displays the type of click (normal,alt,extend or open) a...
4 years ago | 1 answer | 0
1
answerQuestion
readFrame() too slow. How to switch too VideoFileReader and VideoPlayer?
Hello, I've written a code in which a user has to click on the video while it is being played. Unfortunately, the readFrame()...
4 years ago | 1 answer | 0
1
answerQuestion
How to draw circles at the start of a video and display these circles again at specified framecounts?
Hello, I am trying to write a program in which the user has to draw 5 ellipses at the beginning of the video. Is there a way ...
4 years ago | 1 answer | 0
1
answerQuestion
How to extract data from diary?
Hello, I've used the diary function to create a diary file. When I open the diary file, I've got the following: normal ...
4 years ago | 2 answers | 0
2
answersQuestion
Stop execution of function using a specific key press
Hello, I am trying to write a program where the user has to click several times on a video that is being played. After the us...
4 years ago | 1 answer | 0
1
answerQuestion
Capture left mouse click on moving objects in live video
Hello, I am trying to write a small program which displays a video and captures left mouse clicks on this live video. The vi...
4 years ago | 0 answers | 0
0
answersQuestion
Legend in plot using forloop
Hello, I am trying to plot the legend of 3 things here: temperature data (continuous blue line), the starting point of a sit pe...
4 years ago | 1 answer | 0
1
answerQuestion
Find 625 consecutive ones in vector
Hello, I have a 45000x1 rowvector, which contains only 1's and 0's. I want to find the periods of 625 consecutive ones and lo...
4 years ago | 1 answer | 1
1
answerQuestion
For loop using strings
Hello, I have accelerometry data in the x, y and z-plane. Now I'm writing code and always doing the same thing 3 times... I w...
4 years ago | 1 answer | 0
1
answerQuestion
remove trend in temperature data
Hello, In attachment you can find a figure of temperature data over the next 2.2 days. This temperature is the leg temperatur...
4 years ago | 1 answer | 0
1
answerQuestion
Selecting specific values in timestamp
Hello, I have a 7000000x8 matrix. In the second column, I have the timestamp information (e.g.: 11/02/2020 14:19:34.000). My ...
4 years ago | 1 answer | 0
1
answerQuestion
Load textfile into Matlab
Hello, I have the following textfile (see figure). The first line says 'eating'. The second line is the time when eating occ...
5 years ago | 0 answers | 0
0
answersQuestion
How can I label a vector?
Hello, I have a vector of 10 random numbers. I want to label the first 5 elements in the vector as '1'. I want to label the l...
6 years ago | 2 answers | 0
2
answersQuestion
trapz between 2 points
Hello, I want to calculate the integral under a curve between 2 specific points on the x-axis. How can I do this? Thanks....
6 years ago | 1 answer | 0
1
answerQuestion
How to insert fieldname character type into struct type?
Hello, This is my code: load('Cal_Lags.mat'); % % there are 4 treatments. Treatment 1 consists of 30 subjects. fn = fieldn...
6 years ago | 1 answer | 0
1
answerQuestion
How to store 4 outputs in 1 variable?
Hello, I can't seem to find the solution for my problem. I created a function which gives 4 outputs. I call the function in...
7 years ago | 1 answer | 0
1
answerQuestion
Error using plot for symbolic function
Hello, My code is the following one: syms g(x) x t = [0:0.005:4]; wn = 10; zeta = 2; g(x) = wn/(sqrt((zeta*z...
7 years ago | 1 answer | 0
1
answerQuestion
Simple ODE can't be solve by dsolve
Hello, I'm trying to solve the following differential equation: dx2/dt = (-x2/0.19) + (x3/12) Both x2 and x3 are functi...
7 years ago | 1 answer | 0
1
answerQuestion
Lotka-volterra with ode45
I have the following system of differential equations: P' = P − 0.05PR R' = −0.5R + 0.02PR My function is the following...
7 years ago | 1 answer | 0
1
answerQuestion
Wrong plot with ode15s
I'm trying to plot the solution for the following differential equation function y=probleemvergelijking(t,x) y = (-100*x +...
7 years ago | 1 answer | 0
1
answerQuestion
Error using ode45
I have created the following function for my differential equation function y=opdracht8(x) y = 0.08x -2000 and i try to...
7 years ago | 1 answer | 0
1
answerQuestion
How to plot a differential equation?
Hello, I've got the following differential equation: dN(t)/dt - ((k - (a*N(t)))*N(t)) = f(t) This is the logistic law of pop...
7 years ago | 1 answer | 0
1
answerQuestion
Sorting dataset, which contains strings, by one column
Hello, I have a matrix of 1198x17. The first column is a column containing only strings. The first row contains 1 stringcell ...
8 years ago | 1 answer | 0
1
answerQuestion
Reference to non-existing field
Hello, I wrote a code but it gives the error "Reference to non-existing field 'Cycle'". All the fields I want to reference to...
8 years ago | 1 answer | 0
1
answerQuestion
How do I exclude data knowing the rownumbers?
In parameter 'I' i have the rownumbers of the values i want to keep in a dataset. All the other rows have to be deleted. How do...
8 years ago | 2 answers | 0
2
answersQuestion
comparing 2 vectors for duplicates
Hello, I have a vector of 465051 x 1 elements, and a vector of 1197 x 1 elements. The 465051 vector contains all the 1197 el...
8 years ago | 1 answer | 0
1
answerQuestion
how to find columnnumber of a specific headername?
I have a dataset 69x821. I used this code: [num, txt, raw] = xlsread('data_copy'); In txt are all the headers for the va...
9 years ago | 1 answer | 0