Feeds
提问
Flexible use of fullfile
Hi, I have the following line in my script: roi = spm_select('FPList', fullfile(roi_path), '^RA.*\.mat$'); Depending ...
6 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
11 years 前 | 0
已回答
Finding multiple values in matrix
You guys are brilliant! Thank you for the quick responses.
Finding multiple values in matrix
You guys are brilliant! Thank you for the quick responses.
11 years 前 | 0
提问
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...
11 years 前 | 4 个回答 | 1