Question


sorting a dataset 69x821
Hi, I want to sort a dataset of 69x821, i want to sort by the 54th column and i want that all the rows stay with the sorted v...

9 years ago | 1 answer | 0

1

answer

Question


How can I select the 15 best and worst score in a data set with NaN-values in it?
How can i select the 15 best and worst scores for the data set? And how can I create a for-loop or something so that it calculte...

9 years ago | 2 answers | 0

2

answers

Question


how to select the best 15 scores
Hi, How can I select the * _best_* 15 scores of a 70 element vector with some NaN values in it (which should not be selected)...

9 years ago | 2 answers | 0

2

answers

Question


How to calculate intrapair differences?
Hello, I've got a 12 pairs of twins. Twin 1 has a specific score on a task, and twin 2 has a specific score on the same task....

9 years ago | 2 answers | 0

2

answers

Question


Covariance, a 2x2 matrix?
Hello, I calculated the covariance between two sets of data (2 columns of data). And I got a 2x2 covariance matrix (see pictu...

9 years ago | 1 answer | 0

1

answer

Question


Select rows and columns
Hello, In attachment my dataset. I have to select the 3 first columns and the 8 first rows, all the data in it. How do I do t...

9 years ago | 1 answer | 0

1

answer

Question


Sort 1 colum and other colums sort correspondingly
Hello, In attach is a picture of the data set I want to sort. I want sort by 'ZYGE' in ascending way. But I don't want the co...

9 years ago | 1 answer | 0

1

answer

Question


How to calculate absoulte error?
I've got a datavector (775X1) (look attachment). How do I calculate the absolute error of it? Thanks

10 years ago | 1 answer | 0

1

answer

Question


Undefined function for 'regression'?
Undefined function 'regression' for input arguments of type 'double'. Error in frequentieanalyse (line 44) [r,m,b]=regressio...

10 years ago | 1 answer | 0

1

answer

Question


Why doesn't my function work?
for welke_pp=1:5 for i_testen=1:5 function [LANK_1, LANK_2, LANK_3] = make_LANK(data_sts) LANK_1 = data_sts(welke_pp,i_te...

10 years ago | 1 answer | 0

1

answer

Question


How to put values to zero within a specified range?
I've got a datatype 31x1 double. I want to put the values between -0.5 and + 0.5 to zero. How do I do this?

10 years ago | 1 answer | 0

1

answer

Question


How to store data after 2 forloops?
I've got this code: for welke_pp=1:5 %for 5 subjects for i_testen = 1:5 %for 5 measurements RHEE = data_stair...

10 years ago | 1 answer | 0

1

answer

Question


Select the first zero point after last minimum
I have a figure (see attachment) of the Right Heel-marker (in Blue) and the derivative of the Right Heel-markerposition (in Yell...

10 years ago | 0 answers | 0

0

answers

Question


How do I convert a 5x4cell to a 5x4matrix?
In attachment is my example of the 5x4 cell. I want to create a 5x4 matrix of it. How do I do this?

10 years ago | 2 answers | 0

2

answers

Question


Question about the axis of a figure
On the x-axis I have 'number of subjects'. But the axis goes from 0 - 0.5 - 1 - 1.5 - ... Since 1.5 subjects doesn't exist, I w...

10 years ago | 2 answers | 0

2

answers

Question


Error with selecting data in 3D matrix
I have a 3D matrix. The first dimension contains all datapoints (of markers, forces, moments,...), the second contains all the h...

10 years ago | 0 answers | 0

0

answers

Question


Help with butterwort filter
It's hard for me to understand all the mathematics behind the filters, but I found two possible ways to design a Butterwort filt...

10 years ago | 1 answer | 0

1

answer

Question


Replace an if-statement by a function?
I've got this type of code: for welke_pp=1:5 %for loop for 5 subjects for i_testen=1:5 %for 5 measurements if ~( ((i_...

10 years ago | 1 answer | 0

1

answer

Question


Questions about using genpath()
file_name = 'ExamplesFunctions.m'; %a specific m-file function_dir = which(file_name); %find the full path of this file func...

10 years ago | 3 answers | 0

3

answers

Question


Problem with making a new directory
I created a code to save figures for each test for 5 subjects. It gives a warning that the subfolder already exists. So I tried...

10 years ago | 1 answer | 0

1

answer

Question


Storing data with 2 forloops?
When I try to extract RASI from my data: for welke_pp=1:5 ... for i_testen=1:5 ... RASI(welke_pp,i_testen) = data_sts(w...

10 years ago | 1 answer | 0

1

answer

Question


After last click everything in the workspace goes away
Hello, I've got a strange problem. I created a function to read c3dfiles into Matlab. When I go through the code in debug mode,...

10 years ago | 2 answers | 0

2

answers

Question


How to find zero on plot?
In attachment, the blue line represents the right heel marker walking up the stairs. The orange line is the derivative of the po...

10 years ago | 3 answers | 0

3

answers

Question


Error when storing data after forloop
I want to calculate the derivative of RHEE. I also created 2 for loops. I want to store each derivative for each test. But it gi...

10 years ago | 0 answers | 0

0

answers

Question


How to use sprintf in a variable name?
For example, I want to do this (but it gives an error): row = 4 col = 2 Duration_Trial(num2str('col'))_pp(num2str('row'))...

10 years ago | 1 answer | 0

1

answer

Question


Minimum of a matrix with zeros
See in attachment the figure of my matrix. I can see that the number '340' is the lowest in my matrix (except for zero). I want ...

10 years ago | 1 answer | 0

1

answer

Question


Leaving some tests out of my function?
This is my code to read c3dfiles of 5 subjects en their measurements. function read_data_stair_rise aantal_proefpersonen ...

10 years ago | 1 answer | 0

1

answer

Question


Derivative of the right heel marker signal
In attachment are the data of the right heel. The right heel was followed by several camera's and gave the following data of its...

10 years ago | 1 answer | 0

1

answer

Question


How to change my code to read a second datafile?
I've got a datafile called 'data_stair_rise'. This datafile contains measurements ( *being c3dfiles* ) for 5 subjects. I've crea...

10 years ago | 0 answers | 0

0

answers

Question


How to create this function?
Hello, I've read how to build a function. But I'm still struggling with this... I've created a code to read c3d-files into Matl...

10 years ago | 1 answer | 0

1

answer

Load more