Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear,clc;
- Fa = 50000;
- Ta = 1/Fa;
- t = 0:1/50000:4.32;
- load somHino.dat
- V = struct('time', t', 'values', som1');
- v = [0 0.25 0.5 0.75 1]; mu = 255;
- m = (10.^(v*log10(1 + mu)) - 1)/mu;
- R1 = 100*(m(2) - m(1));
- R2 = 100*(m(3) - m(2));
- R3 = 100*(m(4) - m(3));
- R4 = 100*(m(5) - m(4));
- //sound(som1,Fa);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement