photo

Thang Le


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Flexible use of fullfile
Hi, I have the following line in my script: roi = spm_select('FPList', fullfile(roi_path), '^RA.*\.mat$'); Depending ...

mer än 6 år ago | 1 answer | 0

1

answer

Question


Remove empty cells and values for correlations
Hi, I have a 32x2 cell and I would like to do a correlation for the values in the first column with the values in the second ...

mer än 10 år ago | 1 answer | 0

1

answer

Question


How to make cells consistent in dimensions by shortening
Hi, I have cell array P which contains something like this: < 15x1 double > < 14x1 double > < 16x1 double > < 14x1 double...

mer än 10 år ago | 1 answer | 0

1

answer

Question


How to assign a value to a cell nested in another cell
Hi everyone, I have a seemingly simple problem but can't seem to figure out. I have something like this P={'Face1','Face2','S...

mer än 10 år ago | 2 answers | 0

2

answers

Question


Loop for multiple calculation
Hi everyone, I have a bunch of calculations like this: F1 = (H(4,1) - baseline1) / baseline1 F2 = (H(20,1) - base...

mer än 10 år ago | 1 answer | 0

1

answer

Question


Using fullfile for multiple file names
Hi, I am trying to select 3 files (con_001.img, con_002.img, con_003.img) and store them in a 3x1 cell named P. I have specif...

mer än 10 år ago | 1 answer | 0

1

answer

Question


Save selected variables into a file
Hi, I have what seems to be a very simple problem but I just can't figure it out. I have a number of variables including 3 sp...

mer än 10 år ago | 1 answer | 0

1

answer

Question


Add values to a matrix from a loop
Hi, I have the following lines in my script: for j=0:15; percentage_change = (x((8+j),k)-baseline1)/baseline1*100; end ...

mer än 10 år ago | 3 answers | 0

3

answers

Question


Selecting folders in a specific order
Hi everyone, I would like to select images from a number of folders. However, the folders have to be selected in a very speci...

nästan 11 år ago | 1 answer | 0

1

answer

Question


Remove values from matrix based on another matrix
Hi, I have matrix A with the dimensions of 45 x 73 x 28. I have matrix B with the dimensions of m x n x p. I would like to r...

mer än 11 år ago | 1 answer | 0

1

answer

Question


Using NaN in indexing a matrix
Hi all, I'm writing a function that defines a sphere (center and radius are part of the inputs of the function), takes an fMR...

mer än 11 år ago | 1 answer | 0

1

answer

Answered
Finding multiple values in matrix
Hi, I have a follow-up question. Since matrix A is actually a sphere, depending on its center and radius, some of this sp...

mer än 11 år ago | 0

Answered
Finding multiple values in matrix
You guys are brilliant! Thank you for the quick responses.

mer än 11 år ago | 0

Question


Finding multiple values in matrix
Hi, I have an fMRI scan file with activation values of voxels (voxels can be located by specific coordinates). Let's say v is...

mer än 11 år ago | 4 answers | 1

4

answers