Inf or NaN vaiues normalize into [0 1]

2 visualizaciones (últimos 30 días)
JunGi Kim
JunGi Kim el 19 de Mzo. de 2020
Comentada: JunGi Kim el 20 de Mzo. de 2020
Hi, I'm trying to normalize into [0 1].
Could you help me?
I want to normalize two variables. W_1 and W_2
X = [Xmin ~ Xmax],
D = [1 ~ 6]
First, I try to find maximum & minimum values of these W.
But, Because of (Xmax-Xmax) form, W2 has Inf Value.
Do you have any Idea to normalize?

Respuestas (1)

KSSV
KSSV el 19 de Mzo. de 2020
use
xnew = (x-xmin)/(xmax-xmin)
  3 comentarios
KSSV
KSSV el 20 de Mzo. de 2020
why? Is your xmin and xmax are same? all zeros?
JunGi Kim
JunGi Kim el 20 de Mzo. de 2020
And, I want to find
As I think, denominator should be min, numerator should be max.
Then D = 6, X = Xmax...
Is it wrong?

Iniciar sesión para comentar.

Categorías

Más información sobre Nonlinear Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by