Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

matlab problem, about the sampling rate.

Status
Not open for further replies.

intelnside

Member level 2
Member level 2
Joined
Jun 6, 2006
Messages
42
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
1,580
matlab problem with resample

matlab problem, Can anyone teach me how to change or reduce the sampling rate and the number of bit per sample of the wav file?
please help me::cry:
 

change sampling-rate matlab

Read all of the posts in the link below. "FS" is what you need to figure out.
Type "help wavplay" on the MatLab command line.



Good luck
 

how to change the sampling rate in matlab

but afetr i record my voice my fs alraedy more than 65000+ , and the array dosen't appear...how to reduce it to 4000 samples ? please someone guide me.
 

sampling rate matlab

I can't tell exactly what you are trying to do. Which wav file?

Try reading MATLAB's help about these three functions:
wavrecord() and wavplay() . . . you can specify sample rate and number of bits
resample() . . . change sample rate - requires Signal Processing Toolbox

y = wavrecord(20000,11025);
wavplay(y,11025);
z = resample(y,4000,11025);
wavplay(z,4000);
 

sampling rate - matlab

because i'm doing voice recognition, so i already record my voice in wavfile
but the sample rate and number of bits is too big.
 

how to determine the sampling rate in matlab

Try the multirate signal processing chapter on DSP by Proakis.
 

how to convert the sampled at 16000samples/second to 8000 samples/second...
 

[...] = wavread('filename',N)

[...] <----what is this mean??
can someone tell me?
 

how to convert the sampled at 16000samples/second to 8000 samples/second... ???

u need to build a decimator(2)(polyphase)to do this.
if u r doing signal processing
by ur posts i think ur in implementing a subband coding of speech signals.......!
 

intelnside said:
[...] = wavread('filename',N)

[...] <----what is this mean??
can someone tell me?

[] means "vector" on matlab, specifically a vector of variables that could save the representation of the wav file in this case: [datavariable, samplinratevariable, etc...]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top