photo

julian gaviria


Last seen: 13 dagen ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

ongeveer een jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 2 jaar ago | 1 answer | 0

1

answer

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

bijna 2 jaar ago | 0

Question


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

bijna 2 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer