Feeds
回答済み
How can I count the number of times a number appear in a vector?
sir for example i have an matrix of 3x3 0 0 0 1 0 1 1 1 1 i should get the maximum occurrence of each row (i.e) 0 ...
How can I count the number of times a number appear in a vector?
sir for example i have an matrix of 3x3 0 0 0 1 0 1 1 1 1 i should get the maximum occurrence of each row (i.e) 0 ...
7年弱 前 | 0
質問
index exceeds the matrix
for i=1:length(D) if (h_(i,T)~=D(i)) eps(T)=eps(T)+D(i,:); end end
7年弱 前 | 0 件の回答 | 0

