photo

Sam


Katholieke Universiteit Leuven

Last seen: 3년 초과 전 2014년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


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 ' [...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 0 | 0

0

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 2 | 0

2

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 0 | 0

0

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 1

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 0 | 0

0

답변

질문


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...

5년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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....

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Wrong plot with ode15s
I'm trying to plot the solution for the following differential equation function y=probleemvergelijking(t,x) y = (-100*x +...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

8년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기