photo

julian gaviria


Last seen: circa un mese fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

12 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

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

quasi 2 anni fa | 0

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta