# Native

Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

#### Feeds

View by

Question

Calculating correlation matrix from time series in an array
I have a cell array with 164 entities, each with an entry of 193X1 time points. I need to create a correlation matrix of the dim...

4 years ago | 1 answer | 0

### 1

Question

Reassigning values in a matrix
I have a matrix, and here's what I want to do with it - 1.) Find the max value of the matrix, assign it to be 1. 2) Find all t...

5 years ago | 1 answer | 0

### 1

Question

how to load a variable in a loop
ROI_epi.mat contains the variable ROI, which I need to load within the loop. How can I do this? D = dir('CC*/Rest/ROI_epi.mat...

5 years ago | 1 answer | 0

### 1

Question

loading multiple mat files from a directory one by one, and running a script for them
Hi, I need to execute the following steps in matlab: Load a file (from a directory containing multiple files of interest). ...

5 years ago | 2 answers | 0

### 2

Question

creating a nested loop to change values within a for loop
Hi, here is a code segment I am working on n = 132 ; M = cell(n,1); for n = 1:132 for i = 1:132 for j = 1:4...

5 years ago | 2 answers | 0

### 2

Question

Replacing the row and column number with names for a matrix
I have a matrix 'X' with dimensions 132X132. I want to replace each of these row and column indices with a name derived from a c...

5 years ago | 1 answer | 0

### 1

Question

storing values from a for loop into a new variable
for i = 1:length(row) sol{i} disp i end How can I store the values obtained (characters, not numbers) in a new variab...

5 years ago | 1 answer | 0

### 1

Question

How can I threshold a matrix and get the coordinates of those values?
I have a matrix, X with dimensions 132X132, with values ranging from -0.1 to 0.4. I'd like to threshold it to values above 0.2, ...

5 years ago | 1 answer | 0

### 1

Question

Assigning x axis and y axis values to a matrix by importing from a cell array
Disclaimer: I am using a 2015a version of matlab. I have a matrix - invfish of dimensions 132X132, and I want to display an i...

5 years ago | 0 answers | 0

### 0

Question

How to merge two cells and extract the superlayed values?
I have two cells of dimensions 1X132 each, one cell has the names and the other has numerical values that correspond to each of ...

5 years ago | 1 answer | 0

### 1

Question

I have a 132X132 correlation matrix, and I want to label the values that show high correlation (these values happen to be different brain areas). What are the ways I can go about it?
The 132X132 matrix is stored as a variable invfish, and these 132 points are infact brain areas, the names of which are stored i...

5 years ago | 0 answers | 0