i MATLAB 7.11.0 (R2010b)
File Edit Debug Desktop Window Help
i MATLAB 7.11.0 (R2010b)
O t5 *
*) C* I & Ef 1 I © Current Folder:
C:\Users\slawek\Desktop\Lab\cw-02
Shortcuts .£] HowtoAdd .£] What‘s New
>> snd = importdata(1dane6.wav'); >> snd snd =
data: [645632x1 double] fs: 44100
>> frag = snd.data(snd . fs*2 :
>> whos frag
Name Size
snd.fs*3)
Bytes Cl
' . P3 Figurę 1 |
l .=> | (h) |b*€3— | ||
[ £'le |
Edit View Insert lools Desktop Window Help |
o
frag
44101x1
352808 d
>> length(frag) ans =
44101
>> plot(linspace(2,3,length(frag))',frag); >> title 'sound'
>> xlabel 'seconds'
>> ylabel 'amplitudę'
2.4 2.5 2.6
seconds