julian gaviria
Followers: 0 Following: 0
Feeds
質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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);...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 2 件の回答 | 0
2
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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 = [...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
2年弱 前 | 0
質問
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...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答質問
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...
2年弱 前 | 2 件の回答 | 0
2
回答質問
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...
2年以上 前 | 1 件の回答 | 0
1
回答質問
Issue with length function
Why does the length function never stops the iteration? Context: Using copyfile function (matlab2018b) for copying and pasting...
2年以上 前 | 1 件の回答 | 0