Community Profile

photo

Zhe Li


Last seen: 3 years ago Active since 2017

Statistics

  • First Review
  • First Answer

View badges

Content Feed

View by

Answered
How can I count the number of times a number appear in a vector?
A simple command that should work in most situations: >> summary(categorical(A)) gives 1 2 3 4 6 6 ...

5 years ago | 0

Answered
Is there a MATLAB function that can check if a field exists in a MATLAB structure?
One (simple) workaround is to use <https://www.mathworks.com/help/matlab/ref/try.html try-catch> structure and look for MATLAB:n...

6 years ago | 4