photo

Weimin Zhang


Last seen: 5 dagen ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
How can I test if an input value is an integer?
For an array x, perhaps use this: assert(~any(mod(x,1)),'x must have integer(s) only'); or a function allIntegers = @(x)~any(m...

bijna 2 jaar ago | 0