looking for a function in Matlab which converts a number of data to the interval from zero to one

Hi,
i'm looking for a function in Matlab which converts a number of data to the interval from zero to one [0,1].
To explain better imagine my outputs are : 0.39,56,99,781 but in a paper the outputs are not in that range and they are 0.19,0.70,0.49,0.35
I tought perhaps a function was used to convert each number to a [0,1] number.
Looking forward to hearing from you
Thanks

1 Comment

Please use meaningful tags. Almost all questions concern Matlab functions in this forum. Thanks.

Answers (1)

No, there is no general method to project numbers in the range of [0, 1]. I'm convinced there is a bug in your calculations, such that you get different results. A magic re-factoring of the resulting numbers is not a valid method to fix this bug. Could you post the code and the wanted formula?

This question is closed.

Tags

Asked:

on 29 Jan 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!