
clc;
clear all;
close all;
First_read = audioread('Janod1.wav');
Second_read = audioread('Evan1.wav');
ZahlB = 100;
[Fr_Histo1, Histo_ex1] = hist(First_read, ZahlB);
[Fr_Histo2, Histo_ex2] = hist(Second_read, ZahlB);
figure;
bar(Histo_ex1, Fr_Histo1/sum(Fr_Histo1)*100);
xlabel('x-Achse:Amplituden_Wertebereiche');
ylabel('y-Achse_Prozentangaben');
hold on
bar(Histo_ex2, Fr_Histo2/sum(Fr_Histo2)*100);