Feeds
提问
How to get specific value?
A = [5 2 3 8 7 1 2 2 3] [labeledA, numRegions] = bwlabel(A < 4) % Get the size of the regions. props = regionprops(labeledA...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to count number of specific value?
I have a matrix and I'm trying to count the number of a specific value in rows (i.e. < 4 ) for example 5 2 3 8 7 1 2 2 3 ...
9 years 前 | 2 个回答 | 0
2
个回答提问
How to remove rows?
mydata = importdata('data.txt'); A=mydata; nRows = size(A, 1); nColumns = size(A,2); for i=1...
9 years 前 | 2 个回答 | 0
