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年以上 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年 前 | 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年 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 4 件の回答 | 1