thresholding data based on z-score
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Christiane Voufo
le 22 Nov 2019
Commenté : Christiane Voufo
le 22 Nov 2019
Hi All,
I'm attempting to threshold my data using their z-score values. However, it's not clear to me how I am meant to get actual z-score values if the zscore function in matlab give me a matrix where the columns are the values 1SD away when the mean is centered at 0. How could I threshold data to identify values with a z-score of 2 when the zscore function seems to give a matrix where all values have a z-score of 1. I might be reading the matrix incorrectly. CouldI please get some help with this?
Best,
Christiane
4 commentaires
Réponse acceptée
Image Analyst
le 22 Nov 2019
Try this, assuming a 1-D signal:
zScores = zscore(signal)
% Get indexes where zScores > 2
indexes = zScores > 2;
signalWithZMoreThan2 = signal(indexes);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Descriptive Statistics dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!