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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 2 个回答 | 0