Prev: Compare two mat files
Next: call java class from Matlab
From: satya on 2 Jun 2010 18:04 Hi, I have a 200x200 matrix with all zeros created with matXX = zeros(200x200). Now I want to replace 1000 of these zeros with some other number (say, 1) in such a way that these 1's are distributed in such a way that they form some N (say 50) clusters of neighborhood 4 [i mean the distribution should give bwlabel(matXX,4) = 50]. I will be grateful if someone suggest me regarding this. Thanks.. Satya
|
Pages: 1 Prev: Compare two mat files Next: call java class from Matlab |