Omar Ali Muhammed
Followers: 0 Following: 0
Feeds
提问
Is it possible to generate specific random numbers?
The generation of unique random numbers is done simply through randperm. example function idx=RandNumberSequence(Key,N) % us...
3 years 前 | 1 个回答 | 0
1
个回答提问
Is it possible to vectorize this?
I want to find the most occurring element in the matrix in column wise excluding zeror elements. e.g if A = [1 2 0 3 4 6; 9 3 4...
3 years 前 | 3 个回答 | 1
3
个回答提问
Is it possible to vectorize this ?
A matrix A(100x1000) a selective column defined in B(1x1000). The required processing is the mean of non zero elements of each c...
3 years 前 | 2 个回答 | 0
2
个回答提问
How to return multiple values by colfilt?
A matrix A 1000x1000, needd to be subdivided into patches of 5x5 (let us called B). then B is processed by subdividing it int...
3 years 前 | 0 个回答 | 0
0
个回答提问
Is it possible to find a seed to generate given set of integers?
Given certain ranfom integer numbers defined over [1 N]. Is it possible to find a SEED that is cappable of doing the inverse op...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can we plot pixel difference histogram accurately?
function PDH(img1,img2) diffImage2 = imfilter(img2, [1, -1]); diffImage1 = imfilter(img1, [1, -1]); minValue1 = min(diffImage...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can we accurately estimate execution time?
Dear Matlab provides several functions choosing one depends mainly upon execution time. So how we can estimate processing time ...
3 years 前 | 1 个回答 | 0
1
个回答已回答
How to Vecrorizing conditional vactor mapping problem?
r=A.*3; r(r==0)=1; t1=repelem(B,r); t2=repelem(A,r); t3=t1.*t2; t3=dec2bin(t3)' c=regexprep(t3,'111','001'); c=c-'0'; c(...
How to Vecrorizing conditional vactor mapping problem?
r=A.*3; r(r==0)=1; t1=repelem(B,r); t2=repelem(A,r); t3=t1.*t2; t3=dec2bin(t3)' c=regexprep(t3,'111','001'); c=c-'0'; c(...
3 years 前 | 0
| 已接受
提问
How to Vecrorizing conditional vactor mapping problem?
Dear, A is a binary vector its values correspond to the number of times to repeat the corresponding number drawn from the vect...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to Speedup conditional vector elements replacement?
Dear, a is a vector its values correspond to the number of times to repeat the corresponding number drawn from the vector b. f...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can I speedup this for loop and ismember?
Due to the large size of the arrays, the following suffers from extremly slow execution. Is it possible to speedup this code. V...
3 years 前 | 1 个回答 | 0
1
个回答已回答
ismember function too slow
A=[1 2 3 4 5 6 7 8 9 10]; B=[3 4 9]; tt=ismember(B,A); if sum(tt)==3 Do Something; else Do Something; end
ismember function too slow
A=[1 2 3 4 5 6 7 8 9 10]; B=[3 4 9]; tt=ismember(B,A); if sum(tt)==3 Do Something; else Do Something; end
3 years 前 | 0