Community Profile

photo

Al_G


Last seen: 9 days ago
9 total contributions since 2018

Al_G's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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

1 month ago | 1 answer | 0

1

answer

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

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

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

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

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

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

1 year 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 = ...

1 year 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('...

1 year ago | 1 answer | 0

1

answer