photo

Revant Adlakha


Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
How to find the index of the closest value to some number in 1D array ?
You could also use something like this, where f(x) is the function and x is the value of interest. ind = find(min(abs(f(x) - x)...

3 years ago | 2

Answered
How to seperate fractional and decimal part in a real number
How about this? sign(x)*(abs(x) - floor(abs(x))) % Number -> x = -1.23 % Answer -> -0.23 % Number -> x = 1.23 % Answer ...

3 years ago | 1