Effacer les filtres
Effacer les filtres

i have a coloum data, how to normalize it in Source Scanning Algorithm

3 vues (au cours des 30 derniers jours)
Roger
Roger le 1 Fév 2014
Commenté : Roger le 1 Fév 2014
how to set the column data to a range of 0-1; what is the first step,get absolute value or normalize?

Réponse acceptée

Mischa Kim
Mischa Kim le 1 Fév 2014
Modifié(e) : Mischa Kim le 1 Fév 2014
The simple approach:
abs(data)/norm(data)
Are you concerned about algorithm speed?

Plus de réponses (1)

Wayne King
Wayne King le 1 Fév 2014
Modifié(e) : Wayne King le 1 Fév 2014
If you want the largest element in the vector to be mapped to 1, use the linfinity norm.
x = randn(100,1);
y = abs(x)/norm(x,Inf);

Catégories

En savoir plus sur Computational Geometry dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by