How can i normalise my features vector?

I want to test normalizing my features vector in 2 ways.
#1 the sum of the entire normalized matrix is 1 #2 the sum of each row is 1
my features vector is a 2d matrix extracted from an ecg i already tried normalising using bsxfun and zscore, the results weren't that great but zscore did much much better than bsxfun,

1 commentaire

Adam
Adam le 24 Juil 2018
What is your question exactly? If you want to do #1 and #2 just sum the matrix and divide by that or sum it per row and divide by that vector using ./

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 24 Juil 2018

Commenté :

le 24 Juil 2018

Community Treasure Hunt

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

Start Hunting!

Translated by