Community Profile

photo

julian gaviria


Last seen: 3 Monate vor Aktiv seit 2022

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Create 2D mask from nonzero values in 3D array
How can I index cells with nonzero values across all the matrices of a 3D array? Expected output: Logical 2D matrix where 1 rep...

4 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Index and select rows from table
A table includes columns with numerical and categorical columns (see attachement) How can I get multiple subtables based on the...

4 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Dealing with NaNs in corr function (upper/lower triangles of matrices with same dimension)
The correlation coeficients of the upper and lower parts of matrices A,B (see attachment) yield "NaNs nn=374; temp= ~eye (nn);...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Compute correlations in 3D arrays
%Random matrices A=randi(100,374,374); A_ = eye(size(A,[1 2])); A(ones(size(A))&A_)=NaN; B=randi(100,374,374); B_ = eye(s...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Any suggestion to replace the diagonal values of matrices in a 3D array?
Any suggestion to replace the diagonal values of matrices in a 3D array? in case1 to "0" in case1 to "NaN" e.g. for N...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


To mirror (i.e, to copy) the upper matrix to the lower half in matrices arranged in 3D
These two lines mirror (i.e, copy) the upper matrix to the lower half in matrix M, and replace the diagonal elements of the sam...

5 Monate vor | 1 Antwort | 0

1

Antwort

Frage


loading multiple csv files using readmatrix
How can I load to matlab workspace multiple matrices with the same dimension located in individual csv files? They have differen...

5 Monate vor | 2 Antworten | 0

2

Antworten

Frage


3D Submatrices extraction by indexing the 3rd dimension
I have a structure array (a_struct) with 2 fields: a_struct.m= 370x690x109 double a_struct.i= 109x1 cell. Each cell contains 1...

6 Monate vor | 1 Antwort | 0

1

Antwort

Frage


identifying entry elements in rows of logical matrix
I want to identifiy the entry elements (i.e., the first "1" value) in the rows of the following logical matrix input_matrix = [...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to find percentage of Similarity between two logical matrices
The following code calculates the percentage of similarity between the attached logical matrices "c1" and "c2": row = 168; col...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
Changing specific characters in filenames across subfolders
Thank you @Walter Roberson. I encountered 3 issues in your suggestion: 1. Is not recursive. To recall the data structure: Dire...

mehr als ein Jahr vor | 0

Frage


Changing specific characters in filenames across subfolders
How can I change the first character "r" by another character "f" in all the filnames from multiple subfolders: Directory folde...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Using movefile function in existing and unexisting files
The following use of the "movefile" function works only if the requested files exist. But it yields error messages and stops the...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Adding prefix to indexe
Goal: To set the source path for using the "copyfile" function Question: How can I add a prefix to the 7th subloder? this folde...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Iterations of copyfile function across files
I have 4 files (S001, S002, S003, S004) in the following path C:\doss1\doss2\doss3\doss4\doss5\ Each file has a subfloder "res...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Issue with length function
Why does the length function never stops the iteration? Context: Using copyfile function (matlab2018b) for copying and pasting...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort