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

 Risposta accettata

The simple approach:
abs(data)/norm(data)
Are you concerned about algorithm speed?

Più risposte (1)

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);

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Tag

Richiesto:

il 1 Feb 2014

Commentato:

il 1 Feb 2014

Community Treasure Hunt

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

Start Hunting!

Translated by