DSPRelated.com

vector quantization

Started by professional in comp.dsp15 years ago

hello can any one help me on this vector quantization. i am working on a project of designing a vector quantization using matlab by...

hello can any one help me on this vector quantization. i am working on a project of designing a vector quantization using matlab by implementing idea of constructing the decission boundaries and reconstruction levels. does any one have algorithm for construction this. as i am a beginner in matlab this would really help me encouraging to learn matlab tool. thank you


Sound Localization Matlab, Please Help!

Started by staplep in comp.dsp15 years ago 12 replies

As part of my college engineering thesis, I have been assigned the task of identifying and locating sounds using MATLAB. So far, all I have is...

As part of my college engineering thesis, I have been assigned the task of identifying and locating sounds using MATLAB. So far, all I have is a two-microphone set-up, which comprises the audio signal for analysis. This is split up into two vectors in matlab, and using the time delay information, I need to be able to locate the sound. I've done a fairly basic frequency analysis just to get some ba...


bch decoding in matlab.

Started by Anonymous in comp.dsp17 years ago

Hi, Can anyone help me how to start with bch decoding in matlab.I,ve dne the encoding part in matlab.Plz help me.

Hi, Can anyone help me how to start with bch decoding in matlab.I,ve dne the encoding part in matlab.Plz help me.


using Line in in Matlab

Started by ifteebuet in comp.dsp18 years ago 3 replies

i am trying to make a pressure meter. i am using matlab for it. microphone port is already engaged for microphone based pressure sensor. I have...

i am trying to make a pressure meter. i am using matlab for it. microphone port is already engaged for microphone based pressure sensor. I have made a LVDT for sensing the high pressure. I want to connect the output of the LVDT to the line in port of sound card. but I dont know how to access the line in port from matlab. So please help me with the matlab code for accessing the line in port of my s...


Cascaded integrator comb decimation filter

Started by clairechan in comp.dsp14 years ago 2 replies

HI, Im new to DSP. Am now creating the CIC decimator. But my design has an error in the matlab although Hogenauer pruning was use. I works fine...

HI, Im new to DSP. Am now creating the CIC decimator. But my design has an error in the matlab although Hogenauer pruning was use. I works fine for decimation rate 6 and 10, for 3 and 2 have the "noise" occurs.. I dont know which is correct as I comparing VHDL and Matlab. The below is my matlab code: load Pulse100nsSigned.DAT D = 2; % Differential delay R = 2; % Downsampler delayBuffer1 = ...


Wrong results in periodogram code in Matlab

Started by wobbler28 in comp.dsp9 years ago 3 replies

Hi, I am learning about spectral analysis, now I want to solve a periodogram problem in Matlab but I'm getting wrong results, don't...

Hi, I am learning about spectral analysis, now I want to solve a periodogram problem in Matlab but I'm getting wrong results, don't know why. I'm working with an AR random process: x(n)=e(n)+(summation from k=1 to N of) (?_k* x(n?k)) e(n) is a white noise signal and ?_k are five given coefficients I plotted the power spectrum in Matlab for ? from 0 to ?. Then I generated the


How to output a BPSK signal to the Parallel Port in MATLAB?

Started by Vishy in comp.dsp17 years ago 2 replies

Hi... I wish to generate a BPSK modulated signal in MATLAB. I found out how to do this, but I dont know how to output this signal to...

Hi... I wish to generate a BPSK modulated signal in MATLAB. I found out how to do this, but I dont know how to output this signal to the parallel port. Is there any MATLAB code for this? Please help as I am kinda new to MATLAB. thanks..


Plotting sampled data in Matlab

Started by Pete Fraser in comp.dsp14 years ago 8 replies

I'm simulating some filter hardware in Modelsim, and need a way to display the output with a virtual anti-alias filter. Is there a Matlab...

I'm simulating some filter hardware in Modelsim, and need a way to display the output with a virtual anti-alias filter. Is there a Matlab facility for this? plot doesn't seem to have any good option for this. I tried interp1, and it's better than nothing, but the highest order interpolator seems to be 4-tap ('spline'). I could do a higher order filter myself, but feel that Matlab probably...


matlab code for ultra wideband

Started by ashu in comp.dsp14 years ago 3 replies

Hi All, I am looking for a matlab code for ultra wideband simulation on matlab. Any code which can generate gaussian and its monocycles will...

Hi All, I am looking for a matlab code for ultra wideband simulation on matlab. Any code which can generate gaussian and its monocycles will be fine. (derivatives) Channel model would be an added plus. Can anyone suggest me, where can I download this ? thanks and regs ashu


Need help about stability of Levinson-Durbin algorithm in Matlab

Started by kenshen in comp.dsp18 years ago 2 replies

Hi, expertises, I am programming levinson-durbin algorithm in Matlab and desperately find that it comes out with unstable results, especially...

Hi, expertises, I am programming levinson-durbin algorithm in Matlab and desperately find that it comes out with unstable results, especially for the multivariate case. Is there any standard, stable matlab pragramme about this algorithm available for reference? Thanks a lot.. Ken


autocovariance in matlab

Started by Wookie in comp.dsp18 years ago 2 replies

Hi, I have a MATLAB related question. I have a periodic signal loaded into Matlab and i am trying to estimate the Autocovariance of it by using...

Hi, I have a MATLAB related question. I have a periodic signal loaded into Matlab and i am trying to estimate the Autocovariance of it by using the xcov command. This gives me an output that i store as a variable. I'd just like to know if anyone knows why: a) the xcov matrix is twice as long as the original signal and; b) how can i, from the xcov result see the periodicity of the wave...


levinson durbin

Started by 22139 in comp.dsp9 years ago 1 reply

I was trying to implement Linear Predictive Coding in Matlab. The program I wrote for Levinson Algorithm gives same coefficients as Matlab's...

I was trying to implement Linear Predictive Coding in Matlab. The program I wrote for Levinson Algorithm gives same coefficients as Matlab's levinson function. But i found out that Matlab's lpc function gives different set of coefficients. Why is it so? _____________________________ Posted through www.DSPRelated.com


Matlab fft and frequency vector

Started by Mika in comp.dsp18 years ago 7 replies

Hi, I'm kind of newbie with matlab so pleace be patient. =) Well anyway, in one algorithm I'm trying to implement with Matlab I need to divide...

Hi, I'm kind of newbie with matlab so pleace be patient. =) Well anyway, in one algorithm I'm trying to implement with Matlab I need to divide a Fourier transform with i*w (i is imaginary unit and w omega or 2*pi*f). So it's something like this: Fs = 501; %sampling frequency t=[-1:1/Fs:1]; x = cos(2*pi*10*t); Xf = fft(x); f = [-0.5*Fs:Fs/N:0.5*Fs-1/Fs]; frequency vector xt1 =...


Execution times of FFT in MATLAB vs complex FFT in C

Started by Anders in comp.dsp20 years ago 5 replies

Hello, I measured the execution time of a 2^20 point FFT in MATLAB. It takes 703ms do do one 2^20 point complex FFT in MATLAB. If I do a 2^20...

Hello, I measured the execution time of a 2^20 point FFT in MATLAB. It takes 703ms do do one 2^20 point complex FFT in MATLAB. If I do a 2^20 complex FFT in C it takes 3.3 seconds. How come it takes 4 times longer in C compared to in MATLAB? Has anyone compared the Intel Math Kernel Library (MKL) FFT with MATLAB in terms of execution time? Thanks for any replies.


How to load datum produced by Matlab to ccs6000?

Started by pete...@mir.knu.ac.kr in comp.dsp20 years ago 1 reply

I have designed a fir filter in Matlab,and produced an coefficient array of the filter. I wanted to utilize these coefficients on a 6711DSK...

I have designed a fir filter in Matlab,and produced an coefficient array of the filter. I wanted to utilize these coefficients on a 6711DSK board to do some calculation.But when I loaded these datum,ccs showed the data file made by Matlab couldn't be opened. I don't know why and I am always expecting your answer. 3x


matlab & ccs interfacing

Started by vasu in comp.dsp18 years ago 2 replies

we are currently working on echo cancellation using adaptive filtering on dsk 6713. we have implemented fir low pass and high pass filters on...

we are currently working on echo cancellation using adaptive filtering on dsk 6713. we have implemented fir low pass and high pass filters on the board using CCS. we have developed L.M.S algorithm in Matlab(Not the Blockset provided in Help. A new one). we want to download that m file on the board(Portability between Matlab and Code Composer Studio). How ?


IEEE 802.16 OFDM/OFDMA matlab code

Started by xerox0_99 in comp.dsp19 years ago 1 reply

Hi, I am looking for a matlab PHY implementation of the IEEE 802.16 based fixed wireless system. I would very much appreciate it if someone...

Hi, I am looking for a matlab PHY implementation of the IEEE 802.16 based fixed wireless system. I would very much appreciate it if someone could point to an online source for the code or directly provide the matlab code. Thanks so much. This message was sent using the Comp.DSP web interface on www.DSPRelated.com


noise removal in Matlab

Started by vkleciel in comp.dsp17 years ago 4 replies

Hi, I'm currently having trouble removing noise from my recorded signal with Matlab. The recording is a piece of live guitar performance...

Hi, I'm currently having trouble removing noise from my recorded signal with Matlab. The recording is a piece of live guitar performance recorded at a restaurant environment. I'm wondering if anyone of you can give me a hand on how to design a noise removal tool in Matlab? Your advice and help will be highly appreciated!! Regards, Ada _____________________________________ Do you ...


quick matlab question

Started by Philip Newman in comp.dsp20 years ago 3 replies

how can one enter a matrix in MATLAB? say I had A = 0 1 -3 -3 how can I do that?? cheers phil

how can one enter a matrix in MATLAB? say I had A = 0 1 -3 -3 how can I do that?? cheers phil


cross correlation implemenation

Started by Anonymous in comp.dsp18 years ago 1 reply

For starters, I hope I'm not off topic. I'm looking for a C/C++ cross correlation implemention. Something akin to matlab xcorr. I'm...

For starters, I hope I'm not off topic. I'm looking for a C/C++ cross correlation implemention. Something akin to matlab xcorr. I'm perusing the matlab source for xcorr and - it's so say the least - intimidating. Trying to convert my matlab source to C++ but would hate to re-invent the wheel if a sound implementation of these exists someplace. Thanks in advance