photo

Weimin Zhang


Last seen: 10 dagar 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...

mer än ett år ago | 0