Question


How to put the output of a function into a struct?
I'm given the following function to read files into Matlab: function [VideoSignals,VideoSignals_headers,AnalogSignals,Analo...

9 years ago | 1 answer | 0

1

answer

Question


Read c3d-files into Matlab
I have two directories of data: 'data_stair_rise' and 'data_sts'. Each directory contains 5 subfolders: 'pp1', 'pp2', 'pp3', 'pp...

9 years ago | 2 answers | 0

2

answers

Question


Error using Butterworth filter
When I use this code, I get the following error:Error using plot Data cannot have more than 2 dimensions. Maybe it's because I ...

9 years ago | 1 answer | 0

1

answer

Question


Questions about Butterworth filter
I need to apply a Butterworth filter 4th-order with 6Hz cutoff frequency. This is what I get: [B,A] = BUTTER(4,0.6) Is...

9 years ago | 1 answer | 0

1

answer

Question


Save figures in a subfolder after 2 for loops?
I have created 2 for loop. The first is for 5 subjects. The second one is for 4 measurements. Then I have a code to save a figur...

9 years ago | 1 answer | 0

1

answer

Question


Try to store data in 2 for loops
I've got 2 for loops. The first for loop is for 5 subjects. The second for loop is for 4 measurements. I want to store a figure ...

9 years ago | 1 answer | 0

1

answer

Question


How to save figures in a for loop?
I've created a for loop for 5 subjects. The first times the loop runs, I get a plot for subject one. I want to save this figure ...

9 years ago | 2 answers | 0

2

answers

Question


Is there a command that simulates ginput?
My question here is that I want to use ginput to select 2 datapoint on a figure. But after the first figure, there are 19 more f...

9 years ago | 1 answer | 0

1

answer

Question


How to select the x-value of the maximum of a figure (without using ginput)?
I've got a figure (see attachment). I want to select the x-value of it's maximum. How do I do this?

9 years ago | 2 answers | 0

2

answers

Question


How do i select the datafile with the smallest lenght?
I've got a 5x5 matrix (data_stair_rise), and each cell is a struct. Each struct contains a datafile called 'VideoSignals'. I nee...

9 years ago | 2 answers | 0

2

answers

Question


How to find the mean and leave out the zeros?
I've got a matrix with 4 numbers (38,46,47,,0). I want to find the mean for the numbers 38, 46 and 47. I want to leave out the z...

9 years ago | 2 answers | 1

2

answers

Question


How to selected a variable point on the y-axis?
I've got 5 subjects who walk up the stairs. And I want to select the starting point for each subject. The starting point on the ...

9 years ago | 2 answers | 0

2

answers

Question


How to store data in double for-loop?
I have created a double for-loop. The outer one is for 5 subjects. The inner loop is for 3 measurements. for welke_pp =...

9 years ago | 1 answer | 0

1

answer

Question


If-expression only runs the first expression?
I created a for loop for a 5x5 matrix (it is a struct with data in it). But there are some values of the matrix I don't want to ...

9 years ago | 2 answers | 0

2

answers

Question


Multiple values in the if-expression
My data-file is a (5x5) matrix. Each cell is a struct. In this struct there is 1 datafile (and other files like 'columnsheaders'...

9 years ago | 2 answers | 0

2

answers

Question


Error in If-expression
I've made a for-loop for 5 subjects. I've got 2 datafiles. One being 'data_stair_rise' and one being 'data_sts'. Data_stair_rise...

9 years ago | 1 answer | 0

1

answer

Question


Are statements in a Switch-expression necessary?
This is my code: for welke_pp=1:aantal_pp switch welke_pp case 1 case 2 case 3 cas...

9 years ago | 1 answer | 0

1

answer

Question


Error using a for-loop
The following gives an error and I don't know why. The code runs perfectly when I leave '(i_testen)' away behind 'Enkel_hoek_afg...

9 years ago | 1 answer | 0

1

answer

Question


Output of For-loop in 1 file
I have a for-loop for 5 measurements. The first time it runs I get the output for the first measurement. The second time it runs...

9 years ago | 1 answer | 0

1

answer