![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/15046523_1552651515028_DEF.jpg)
indhu ravi
自 2019 起处于活动状态
Followers: 0 Following: 0
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 ...
5 years 前 | 0
提问
index exceeds the matrix
for i=1:length(D) if (h_(i,T)~=D(i)) eps(T)=eps(T)+D(i,:); end end
5 years 前 | 0 个回答 | 0