Domanda


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

circa 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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?

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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?

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Carica altro