Community Profile

photo

dipanka tanu sarmah


Active since 2017

Statistics

All
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Count number of specific values in matrix
along with this if you want to count the number of NaN ,(if there any) use nnz(isnan(m))

4 years ago | 1

Answered
Is there a way to obtain desired index without using 'find'?
you can use the following function : function posX = findPosition(x,y) posX=[]; for i =1:length(x) p=x-y; ...

4 years ago | 0

Answered
find repeating numbers
function y = repeated(x) for i=1:length(x) if length(find(x==i)) >=2 y{i,1}=x(i); y{i,2}=length(find(x==i)) ...

4 years ago | 0