Community Profile

photo

Al_G


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to count "gaps" consisting of designated values in a vector and obtain start and end indices?
Adding on to a previous question I've asked: I have a very long vector of data that includes gaps of "invalid" values where dat...

3 years ago | 1 answer | 0

1

answer

Question


One common xlabel and ylabel for multiple subplots
Is there a straightforward way to add one common x label and ylabel to a figure containing multiple subplots? The solutions I r...

4 years ago | 2 answers | 2

2

answers

Answered
How to specify histogram's x and y axis
Figured it out for anyone trying to do the same: set the 'xlim' and 'ylim' property to your desired max and min values. This is ...

4 years ago | 0

Question


How to specify histogram's x and y axis
I have 2 subplots in a figure, both of them histograms. 1) I'd like the x-axis of the left subplot to go from 0 to 6 like the...

4 years ago | 2 answers | 0

2

answers

Question


Add a field to an existing structure
I have a structure called "Events", containing a field called "Efix" for each trial in my data. Efix contains a subfield called ...

5 years ago | 1 answer | 0

1

answer

Question


How to count "gaps" consisting of designated values in a vector?
I have a very long vector of data that includes gaps of "invalid" values where data that's missing has been replaced with a desi...

5 years ago | 1 answer | 0

1

answer

Question


Error loading a just-saved matfile
I'm processing a bunch of participant files by saving a participant's data structure ('subjData') as a matfile, then later in th...

5 years ago | 0 answers | 0

0

answers

Question


Extracting numbers from mixed string
I have filenames saved as strings such as '2001_06m'. Sometimes the files are inconsistently named as '2001_6m' (missing the zer...

5 years ago | 4 answers | 0

4

answers

Question


Indexing into a structure to retain/remove elements based on a string
I have a variable containing a string for one eye (i.e. selectedEye = LEFT) and a struct called "x" with 2 fields: x = ...

5 years ago | 1 answer | 0

1

answer

Question


How do I look up a string in a struct and assign the number value that is associated with the string
I have a struct where I specify strings that indicate certain quality levels for validation: VAL.qualityTypes = struct('...

5 years ago | 1 answer | 0

1

answer