Question

How can I identify a vector subset that meets a given condition?

Given a vector A (please, see attached), how could I find the n-samples vector subset with the smallest range (or standard devia...

3 years ago | 0 answers | 0

Question

How does the following syntax may be shortened and improved?

Given a 12 x 13 matrix, I need to select the row with the greatest value in column 9, every two rows, and create a matrix contai...

3 years ago | 2 answers | 0

Question

Cross-correlation issue: how can I align two signals?

I have two signals A and B (please, see them attached), which have been recorded from different devices with different sampling ...

3 years ago | 1 answer | 0

Question

How can I ideantify the least "noisy" baseline periods in a vector?

I have a vector A (see example attached) corresponding to voltage from a strain gauge while testing strength levels in humans, a...

3 years ago | 0 answers | 0

Answered

How can I perform matrix calculations within the own matrix?

A_normalised = zeros(size(A)); for ii = 1:6:length(A) for kk = ii:ii+5 A_normalised(:,kk) = (A(:,kk).*100...

How can I perform matrix calculations within the own matrix?

A_normalised = zeros(size(A)); for ii = 1:6:length(A) for kk = ii:ii+5 A_normalised(:,kk) = (A(:,kk).*100...

3 years ago | 0

| accepted

Question

How can I perform matrix calculations within the own matrix?

Hi, I have a 9x612 matrix (A). It consists of 102 variables measured 6 times each (612 columns), in 9 different situations (9...

3 years ago | 2 answers | 0

Question

After aligning two signals using xcorr, how to make both signals (varying) lengths equal?

Hello, I am using xcorr to synchronize two signals (S1, S2; from two different devices) of the same event. The function works...

3 years ago | 1 answer | 0

Question

Identifying periods of signal above threshold

The code below provides number of "bursts" or periods of activity (300 consecutive points = 0.2 s) above a given threshold. How ...

3 years ago | 1 answer | 0

Question

Counting number of bursts

How can I count the number of periods of activity above a certain threshold? I have an EMG signal with some bursts of activi...

3 years ago | 1 answer | 0