Adding outlier to a matrix
Ältere Kommentare anzeigen
Hi , I have a matrix of intensities (n*p). I want to add an outlier to it. Do you have any idea about how to simulate an outlier? I was thinking to take the mean of matrix and then multiply it to some very high value?
Do you have any idea ?
Akzeptierte Antwort
Weitere Antworten (1)
Roger Wohlwend
am 22 Mai 2014
0 Stimmen
Actually you answered your question yourself. Instead of the mean I would use the maximum value of the matrix. Multiply that number by a certain value. That's all. It is quite easy.
1 Kommentar
Niki
am 22 Mai 2014
Kategorien
Mehr zu Student's t Distribution finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!