DSPRelated.com

spectral analysis between wav and mp3 decoded wav

Started by jeff...@hotmail.com in Matlab DSP15 years ago 2 replies

Hello everyone, Can anyone tell me where have i gone wrong with the following code? It was understood that when u encode a wav file to mp3 and...

Hello everyone, Can anyone tell me where have i gone wrong with the following code? It was understood that when u encode a wav file to mp3 and decode it back, there will be more trough(zero spectral coeff) present when we plot dB vs frequency. I converted a wav to mp3 and back to wav using audacity. [x,fs,n] = wavread('test.wav'); Y = fft(x.*hamming(length(x))); m = 0:ceil(length(Y)/2...


channel response for Multipath channel

Started by thiy...@yahoo.com in Matlab DSP15 years ago

Hi Everyone. i have got some problems to plot this multi path transfer function& impulse response.My equation is...

Hi Everyone. i have got some problems to plot this multi path transfer function& impulse response.My equation is H(f)=g(i)*e^-((a0)+(a1)*f^k)*(d(i))*e^-i*(2*pi*f*(d(i)/vp)); i cant get the plot.this is my code clear; clc; k=1; a0=0; a1=6.8E-10; g(1)=0.38;g(2)=0.78;d(1)=125;d(2)=216; vp=3*E8; e=2.7183; freq=0:20E6; time=0.00005:0.2; %for f=500*K: 20*M for co...


can matlab accept TI assembly ?

Started by mimo_290 in Matlab DSP15 years ago 1 reply

Hello all I have this assembly program that is tested in the real hardware and running for the TMS320C6000 family and i want to tested and...

Hello all I have this assembly program that is tested in the real hardware and running for the TMS320C6000 family and i want to tested and modified using matlab any idea if there is any block in simulink that accept assembly? or is there any other way to convert it to matlab function? thank you


how can i generate psuedo random numbers in matlab?

Started by ali_khodaie2002 in Matlab DSP15 years ago 1 reply

hi there, how can i generate psuedo random numbers (by one or different) seed in matlab? that's very kind of you.

hi there, how can i generate psuedo random numbers (by one or different) seed in matlab? that's very kind of you.


FSK modulation and demodulation

Started by vd.a...@yahoo.co.in in Matlab DSP15 years ago 3 replies

Hi, I am new to digital communication area. I want to FSK modulate my .wav file and also demodulate it in matlab (& also in simulink). After...

Hi, I am new to digital communication area. I want to FSK modulate my .wav file and also demodulate it in matlab (& also in simulink). After going through matlab documentation and demo, i found that FSK modulator (in simulink or in matlab) accepts only binary data (zero's and one's) as input. I am unable to convert my .wav file into binary as it is already in integer format also includes neg...


global variables

Started by "samira.khodadadi" in Matlab DSP15 years ago 1 reply

hello im using some callbacks in my gui project, in the first callback i type: global m; m=.... but in the secend callback it wont...

hello im using some callbacks in my gui project, in the first callback i type: global m; m=.... but in the secend callback it wont recognize m either i use global m; or not. haw can i solve it? regards


FFT pad or no pad

Started by kctu...@gmail.com in Matlab DSP15 years ago 1 reply

I have 300sec data collected at 1Hz. I want to look at power spectrum of this time series, so first I need to do FFT(). But I am not sure if I...

I have 300sec data collected at 1Hz. I want to look at power spectrum of this time series, so first I need to do FFT(). But I am not sure if I need to pad it with zeros to make it 512. Matlab FFT() lets me do it either way, but I don't really understand which way I should do. Please advise. Thanks.


sound_recording

Started by fatih karaaslan in Matlab DSP15 years ago 1 reply

Dear Sirs I plan to record sound by using a microphone. I have MATLAB 7.4 version. I use simulink-data acquisition toolbox. Sample rate is 8...

Dear Sirs I plan to record sound by using a microphone. I have MATLAB 7.4 version. I use simulink-data acquisition toolbox. Sample rate is 8 Khz.? I want to record sound for eight hours continously. However I can not record more than one hour because of memory allocation problem. My question is that MATLAB writes data to RAM? Can I manage write data to hard disk? Fatih KARAASLAN ?


how can i takt wavelet transform from an image and then inverse(transform) it ?

Started by ali_khodaie2002 in Matlab DSP15 years ago 1 reply

hi my dear freinds around the world, i wanted to transform(dwt) an image(barbara)and inverse it.it is my first time i have worked with dwt.these...

hi my dear freinds around the world, i wanted to transform(dwt) an image(barbara)and inverse it.it is my first time i have worked with dwt.these are my codes: X=((imread('barbara.bmp'))); [cA,cH,cV,cD] = dwt2(X,'haar'); Y = idwt2(cA,cH,cV,cD,'haar'); figure,imshow(Y) but the resulting image isn`t like the first image . what `s wrong with my codes? thanks in advance.


Relate lowpass filter cutoff frequency with real frequency (Hz) to filter from a sampled signal?

Started by in Matlab DSP15 years ago

Hello to all, My problem is the following: I have a signal x that was sampled with Fs = 8000 Hz and sampled 1000 samples. I want to...

Hello to all, My problem is the following: I have a signal x that was sampled with Fs = 8000 Hz and sampled 1000 samples. I want to filter the signal using a truncated version of an ideal discrete lowpass filter getting the filter coefficients b with the sinc function: k = -100:1:100 ; b = (1/Wc) sinc (Wc * k) ; I want to filter frequencies higher than 2500 Hz, I must somehow re...


Ask a Question to the DSPRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright