Question

How to delete values when value is 3&4 then 7&8 then 11&12....

I have attached a mat file below. 1 repeates like 162 times 2 repeates like 172 times I want to keep 1 & 2 remove 3&4 ...

5 months ago | 2 answers | 0

Question

Delete 335 values every 335th time.

Say, x = randn(26672,1); How to go about that, without messing uo my data? 1 to 334 keep 335 to 770 delete repeate this.......

5 months ago | 2 answers | 0

Answered

Sorting matrix while removing zero values and keeping track of index at the same time.

[a,ind] = sort(totalAmplitude); bb = [a;ind]'; check = find(bb == 0); bb(check,:) = [];

Sorting matrix while removing zero values and keeping track of index at the same time.

[a,ind] = sort(totalAmplitude); bb = [a;ind]'; check = find(bb == 0); bb(check,:) = [];

5 months ago | 0

| accepted

Question

Sorting matrix while removing zero values and keeping track of index at the same time.

This is after sorting but with zero values as well. [a,ind] = sort(totalAmplitude); bb = [a;ind]'; I want to eliminate the ze...

5 months ago | 2 answers | 0

Question

Find the exact multiple of a number by zero padding values.

Say A = 13848 x 1 and I want to reshape into a 173(matters a lot) by 80 or 81(this doesn't matter) but that isn't possible as...

5 months ago | 2 answers | 0

Question

repeating elements in weird fashion.

(1,1) = 162 so after reading this it has to repeat 'X' 162 times vertically (1,2) = 173 so after reading this it has to repe...

5 months ago | 1 answer | 0

Question

repeat elements ('a','b') where 'a' has to repeat 157 times and 'b' has to repeat 173 times, sequentially?

157 values of 'a' then 173 values of 'b'

5 months ago | 1 answer | 0

Question

How to sort my signal based on the frequency domain? low to high

So i have 100 features from R-ICA. Some of the signals are very high frequency and a few, say 11 out of 100 are low frequency. ...

6 months ago | 1 answer | 0

Question

convert the table which has both number and string as csv or arff (WEKA) ?

I'm unable to convert this into csv or arff file.

7 months ago | 0 answers | 0

Question

How to concatenate all these cells vertically?

I have attached the file below. I'm unable to concatenate these cells verically.

8 months ago | 1 answer | 0

Question

How to develop a number selector using matlab app designer?

classdef tutorialApp < matlab.apps.AppBase % Properties that correspond to app components properties (Access = publi...

8 months ago | 1 answer | 0

Question

How to control mouse pointer?

if value is left go left. if value is right go right. if value is rest stop pointer in its current position or bring back to ...

8 months ago | 0 answers | 0

Question

I wanted to combine these cells into a table.

I wanted to perform horzcat to this.

8 months ago | 1 answer | 0

Question

I wanted to iterate this piece of code for 10 seconds.

disp('Opening an inlet...'); inlet = lsl_inlet(stream_result{1}); [vec,ts] = inlet.pull_sample(); start = ts; fNIRS_recor...

8 months ago | 1 answer | 0

Question

Wanted to check if a variable exits or not within 'nirsinfo'.

if exist(nirsInfo.RawDataInfo.checking,'var') == 1 disp("file exists"); else disp("doesnt"); end Here since the .ch...

9 months ago | 1 answer | 0

Question

Is it possible to use classification learner app built in MATLAB for real time prediction??

From a stream of data flowing in from a port, can that be used for real time analysis ?

9 months ago | 1 answer | 0

Question

need help with State estimation using Kalman Filtering or time varying kalman filter ...

This is fNIRS signal basically changes in heomoglobin concentration during a particular stimuli in the motor cortex region of ...

9 months ago | 0 answers | 0

Question

Change value of states "active" to 1 and "rest" to -1

I have attached a mat file for your reference.

9 months ago | 1 answer | 0

Question

Best way prepare data for classification learning

How do i prepare this dataset such that i can calculate mean,slope,kurtosis,skewness,peak as the features of this data. With ...

10 months ago | 0 answers | 0

Question

So I wanted to split the 1X15 cell to different cells.

Yes this is a screenshot of a screenshot. So I have a 1x15 cell Each (cell)column is one channel so a total of 15 channels. ...

10 months ago | 1 answer | 0

Question

How to calculate variance?

matrix of 1510 x 15? 15 is number of channels...so i wanted variance of every channel.

10 months ago | 1 answer | 0

Question

i wanted the slope with respect to time frame

I wanted to calculate slope of channel 1 to 15 with respect to the time frame. The values in the tables are HbO values which sho...

10 months ago | 2 answers | 0

Question

deleting a row based on index.

HbO_index = find(xyz1 > 7.5);%link the index with the HbO table and eliminate the bad channels HbO_good_channel = HbO; % fo...

10 months ago | 1 answer | 0

Question

Eliminating channels based on coefficient of variance .

1 to 20 columns are the number of channels. Coeff of Varience is 7.5 which is saved in variable say thresh_cv which I dynamical...

10 months ago | 1 answer | 0

Question

i wanted to find slope of 1 and 2....

1 and 2 is channel 1. 3 and 4 is channel 2. likewise till 19 and 20 which is channel 20. I wanted to calculate slope of chan...

10 months ago | 0 answers | 0

Question

So i wanted a dynamic way to read 3 files from these folders with extensions .w1 , .w2 and .hdr into variables.

11 months ago | 1 answer | 0

Question

So i wanted to add a column to this table.

Code for=> at the 2nd column i wanted to add data in form of an iteration.Starting with string 'Rest' from 1 to 202 then 202 to...

11 months ago | 2 answers | 0