Community Profile

photo

Native


Last seen: mer än 3 år ago Active since 2018

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

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...

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

1

answer

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...

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

1

answer

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...

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

1

answer

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). ...

nästan 5 år ago | 2 answers | 0

2

answers

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...

ungefär 5 år ago | 2 answers | 0

2

answers

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...

ungefär 5 år ago | 1 answer | 0

1

answer

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...

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

1

answer

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, ...

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

1

answer

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...

mer än 5 år ago | 0 answers | 0

0

answers

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 ...

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

1

answer

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...

mer än 5 år ago | 0 answers | 0

0

answers

Question


How can I get an average of different matrices stored as separate .mat files?
I have 24 different matrices of dimension 68X68, stored in a folder. I need to create a new matrix that is an average of all tho...

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

1

answer