Community Profile

photo

PAK


Duke Clinical Research Institute

Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Question


Error: Conversion to struct from single is not possible
Hi All, I had a question regarding inserting data from a cell array into a preexisting structure. The variable "phases" is a 3 ...

5 years ago | 1 answer | 0

1

answer

Question


sort a cell array of file paths by portions of the file path
HI All, I have an output from the dirrec function, which is a 12x1 cell array, where each cell is a file path. Example below. ...

5 years ago | 0 answers | 0

0

answers

Question


Gantt chart with superimposed values
Hi All, I was wondering if there is a way in Matlab to create a gantt chart using the min/max of variable? I've read a little b...

5 years ago | 0 answers | 0

0

answers

Question


Problems with the Mode function
Hi Everyone, Happy New Year! I'm having problems with the "mode" function in Matlab 2018a. I have a 1x1979253 single "x", whe...

5 years ago | 1 answer | 0

1

answer

Question


phase correlation coefficient between 2 vectors of unequal size
HI All, I have a question regarding some circular statistics. I am trying to calculate the circular correlation coefficient "rh...

5 years ago | 0 answers | 0

0

answers

Question


Finding p values that are significant and copying .mat files into a separate folder
Hi All, I have a series of .mat files in the directories "Pos" and "Neg". Within each mat file, there are a series of variabl...

5 years ago | 0 answers | 0

0

answers

Answered
problems with .eps files / matlab figure files
This was figured out. The flag '-painters' added to the print command fixes these issues.

5 years ago | 0

| accepted

Question


Circ_Mean Confidence Interval Issues (Circ_Stats toolbox) - Also posted on File Exchange
Hi All, I have posted this question on the file exchange for Circ Stats as well. My question - I'm trying to calculate the c...

5 years ago | 0 answers | 0

0

answers

Question


problems with .eps files / matlab figure files
Hi All, I have a couple questions detailed below. I am using the command below to save out some polarhistograms to .eps file...

5 years ago | 1 answer | 0

1

answer

Question


savefig in loop leads to an empty figure
Hi All, I'm trying to use savefig in a loop to save some polarhistograms as .fig files and for some reason it saves it proper...

5 years ago | 1 answer | 0

1

answer

Question


Peristimulus Time Histogram & Smoothing
Hi All, I have a couple questions regarding computation of a peristimulus time-histogram, computation of a spike average from...

5 years ago | 0 answers | 0

0

answers

Question


Looping through folders and perform script
Hi All, I have data that is in 3 subdirectories "LFP", "Pos", and "Neg". Each folder has the same number of .mat files in it...

5 years ago | 1 answer | 0

1

answer

Question


Binning data into 1 ms bins and count events
Hi Everyone, I have an experiment that is recorded over a timeperiod = 2.63610e+03 (in seconds). During my experiment, I was...

5 years ago | 1 answer | 0

1

answer

Answered
returning values of a matrix between two values
Hi, I tried that, but I get the error "Index in position 2 exceeds array bounds (must not exceed 5272240)". Do you h...

5 years ago | 0

Question


returning values of a matrix between two values
Hi Matlab Experts, I've got a basic question. If I've created a matrix: data_bounds = [event_samples(1),event_sample...

5 years ago | 2 answers | 0

2

answers

Question


Problems with indexing into an array with nan (indexing on 2 variables)
Hi All, I'm having trouble using a logical variable ( *Bandphase_logical* = 9x5272240 logical) to find "true" events in anoth...

5 years ago | 1 answer | 0

1

answer

Answered
Using matlab with data on an external hard drive
Hi Walter, Thanks for your response! I think that makes sense. I'm now looking into some of the USB-C SSD and HDD storage de...

5 years ago | 0

Question


Using matlab with data on an external hard drive
Hi Everyone, I'm trying to run some data analysis through matlab. My data is quite large, and I am currently off site (so th...

5 years ago | 3 answers | 0

3

answers

Question


Filter a structure by a value of a field
Hi All, I have data in the following structure called "recEv". <</matlabcentral/answers/uploaded_files/127603/Screen%20Sho...

5 years ago | 1 answer | 0

1

answer

Question


Create a logical vector
Hi All, I have a cell array, where each cell in the first row contains a double of various lengths. Each double corresponds ...

5 years ago | 1 answer | 0

1

answer

Question


Easy way to divide a field in a struct by a number?
Hello All, I have a 5394 x 1 struct with 2 fields labeled "cluster" and "spx_time". I'd like to divide all values in the "sp...

6 years ago | 1 answer | 0

1

answer

Question


Sorting and Distributing Excel Files in Matlab
Hi Matlab Experts, I was wondering if there is a way to sort and distribute an excel file automatically with Matlab? Essenti...

7 years ago | 0 answers | 0

0

answers