9. Create 10,000 random genuine (match) scores with a mean of 22 and a standard
ID: 3907521 • Letter: 9
Question
9. Create 10,000 random genuine (match) scores with a mean of 22 and a standard deviation of 2 41-22 ??-2) genuineScores-randomn( Normal genuineScoreMean, genuineScoreStdDev 1, numberOfGenuineScores); 10. Create 1,000,000 random imposter (non-match) scores with a mean of 30 and a standard deviation of 2 (41-30, ??-2). imposterScores random(Normal imposterScoreMean, imposterScoreStdDev,1, numberOflmposterScores): 11. Find the minimum and maximum of all scores: minAllScores min(min(genuineScores). min(imposterScores)); maxAllScores- max(max(genuineScores), max(imposterScores): normalization: genuineScores (genuineScores minAllScores) (maxAllScores)- minAllScores)/(maxAllScores-minAllScores); minAllScores)imposterScores (imposterScores-Explanation / Answer
Find the required program in MATLAB:
%============================================
%===== Sample generation ======
genuineScores = random('Normal',22,2,1,10000);
imposterScores = random('Normal',30,2,1,1000000);
%===== Min-Max generation ======
minAllScores = min(min(genuineScores),min(imposterScores));
maxAllScores = max(max(genuineScores),max(imposterScores));
%====== Min-Max normalization ======
norm_genuine_scores = (genuineScores-minAllScores)/(maxAllScores-minAllScores);
norm_imposter_scores = (imposterScores-minAllScores)/(maxAllScores-minAllScores);
%============================================
Hope this helps!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.