Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
>> [hpn,fs]= wavread('hpn.wav'); >> size (hpn) %this is to read the size of the file ans = 55125 >> [hpn,f] = wavread('hpn.wav') >> wavplay (hpn,f) %this is to get the frequenciy f = 11025 >>subplot(2,1,1), plot (hpn) , title('Entire Waveform'); >> fNorm = 200 / (fs/2); %filtriing the sound file starts from here! >> [b,a] = butter (10, fNorm, 'low'); >>hpnlow = filtfilt (b,a,hpn); >> freqz(b,a,128,fs); >> wavplay (hpnlow, fs);
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!