Yesbol
Followers: 0 Following: 0
Feeds
質問
How to iterate through cell array of doubles
Hi all, Let's say, I have a 1x7 cell for i = 1:7 num{i}=rand(randi(20),1); end Now I want to find sum of e...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Check if there are repeated elements in a matrix
Dear all, I have a set of lines/polylines represented in a matrix coord 380x4 (attached with this post), first and second col...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Generate random integers with a condition
Hi all, I have a matrix A 84x1 (attached). I need to replace ZEROS by randi(3). However, I need to ensure that the number o...
6年以上 前 | 1 件の回答 | 0
1
回答質問
Find the elements in matrix that are not within the specified range
Hello all, This is question is the extension of this <https://www.mathworks.com/matlabcentral/answers/326817-how-to-process-m...
7年以上 前 | 1 件の回答 | 0
1
回答回答済み
Replace the indexes of duplicate values
Solved %% X coordinate [~, indX] = unique(B(:, 2), 'rows'); % duplicate indices duplicate_indX = setdiff(1:size(B,...
Replace the indexes of duplicate values
Solved %% X coordinate [~, indX] = unique(B(:, 2), 'rows'); % duplicate indices duplicate_indX = setdiff(1:size(B,...
7年以上 前 | 0
| 採用済み
質問
Replace the indexes of duplicate values
I have a matrix B 1631x5. Columns 2 and 3 represent X and Y coordinates respectively. I want to identify the indexes where...
7年以上 前 | 2 件の回答 | 0
2
回答質問
Move all the values of matrix starting from particular row of matrix and replace by zeros
Hello, I have matrix A 343x9(attached with this thread). I want to check the condition A(k,4)==A(k+1,2). If true, leave it as...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Process two matrices with condition
Hello, I have two matrices: A(343x9) and B(369x4). They are attached with this thread. Column 8 in matrix A represents lengt...
7年以上 前 | 0 件の回答 | 0
0
回答質問
Producing lines from a matrix of coordinates and length
Hello. I have a matrix 1 303.5642 157.0846 303.6792 154.5551 0 0 2.5321 2 303.6792 154.5551 303.7942 151.5658 0 0 2....
7年以上 前 | 0 件の回答 | 0
0
回答質問
Writing to file with condition
I have a matrix A 335x5 and I'm extracting 2nd and 3rd column from the matrix with the corresponding number. Currently, the prog...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Extracting elements from a matrix with condition
Hello. I have a matrix A 335x5 and I'm extracting 2nd and 3rd column from the matrix with the corresponding number. Currently,...
7年以上 前 | 0 件の回答 | 0
0
回答質問
Processing three-dimensional array
Hello This question is basically the extension of <https://www.mathworks.com/matlabcentral/answers/326817-how-to-process-...
7年以上 前 | 0 件の回答 | 0
0
回答質問
How to process multiple matrices. Checking whether the elements of a matrix are within the specified range
Hello. I have 55 matrices 288x1 named Load1, Load2, Load3, ..., Load55. I need to create a for loop which checks whether the v...
8年弱 前 | 2 件の回答 | 0