DSPRelated.com

Matlab multipath simulator

Started by Randy Yates in comp.dsp18 years ago 2 replies

I'd appreciate pointers to Matlab code that models and simulates various multipath environments. -- % Randy Yates % "My...

I'd appreciate pointers to Matlab code that models and simulates various multipath environments. -- % Randy Yates % "My Shangri-la has gone away, fading like %% Fuquay-Varina, NC % the Beatles on 'Hey Jude'" %%% 919-577-9882 % %%%% % 'Shangri-La', *A New World Record*, ELO http://home.earthlink.net/~yatescr


ARMA parameter estimation from noisy observations

Started by Nick32 in comp.dsp16 years ago 7 replies

Hi I am trying to fit an (8,5) ARMA model to a time series in the presence of additive white noise. The SNR is around 10-20dB. So far I have...

Hi I am trying to fit an (8,5) ARMA model to a time series in the presence of additive white noise. The SNR is around 10-20dB. So far I have tried the armax function from the Matlab system identification toolbox, the ARMASA toolbox for Matlab and a reduced statistics algorithm. Unfortunately I have found that these methods are unreliable when the SNR is less than about 60dB, and the models p...


eig function in DSP

Started by Laplace in comp.dsp17 years ago 3 replies

Hi! I'm working with an algorithm that uses eig matlab's function. I'm now writing this code in C. I read about eig() function and I think...

Hi! I'm working with an algorithm that uses eig matlab's function. I'm now writing this code in C. I read about eig() function and I think that doing it by hand may be difficult... do you know any library that has this function or a easy way to translate it from Matlab to C? I'm working with ADSP 21369. Thanks!


xcorr and saving waveform

Started by john1985 in comp.dsp16 years ago 3 replies

Hi, I?m relatively new to matlab and I have a fairly basic question. I have 2 waveforms (x1,y1) and (x2,x2). I want to give these waveforms...

Hi, I?m relatively new to matlab and I have a fairly basic question. I have 2 waveforms (x1,y1) and (x2,x2). I want to give these waveforms names such as wave_1 and wave_2 so that I can perform the xcorr function as follows xcorr (wave_1, wave_2). How would I achieve this in Matlab? thanks for any help john


Noob Question on Filter Coefficient

Started by fole...@gmail.com in comp.dsp18 years ago 5 replies

Hello, I have a task to update some C code that does some FIR Filtering. I was thinking I would just use FDATool in Matlab, put in new...

Hello, I have a task to update some C code that does some FIR Filtering. I was thinking I would just use FDATool in Matlab, put in new parameters and stick it back into the C code. I am kind of puzzled by a few things concerning FIR filter coefficients. 1) when using the filter command in Matlab, I see that from searching the web, the denominator part is set to 1 most of the time. Howev...


How to interpret polyphase coefficients generated in MATLAB

Started by vizziee in comp.dsp15 years ago 24 replies

Hello everyone, I am trying to design a low pass decimator filter in MATLAB. I am supposed to decimate a signal sampled at 200MHz down to...

Hello everyone, I am trying to design a low pass decimator filter in MATLAB. I am supposed to decimate a signal sampled at 200MHz down to 10MHz. The signal bandwidth is 8 MHz and the signal spectra is centred at the sampling frequency. I began with the following code: --------------------------------------------------------------- Fs_adc = 200e6; % ADC Sampling Frequency Fpass1 =...


Compare LMS NLMS

Started by Gie78 in comp.dsp19 years ago 1 reply

Hi I have some Problems with the NLMS. I have written a MATLAB skript to simulate the LMS and NLMS now I will compare these two...

Hi I have some Problems with the NLMS. I have written a MATLAB skript to simulate the LMS and NLMS now I will compare these two algorithms. Especially the convergence speed. Here I will compare the learning curves. Inputsignal: White noise (Matlab randn()) My major Problem is the choose of the different Parameters like step size and so on. The coefficient-update: w(n+1)=w(n)+mu(n)*e...


"Unit-Circle" Equivalent of Matlab's roots()?

Started by Randy Yates in comp.dsp20 years ago 3 replies

Is there a function in Matlab that will take as input a complex polynomial and return the points on the unit circle at which the polynomial goes...

Is there a function in Matlab that will take as input a complex polynomial and return the points on the unit circle at which the polynomial goes to zero? -- % Randy Yates % "...the answer lies within your soul %% Fuquay-Varina, NC % 'cause no one knows which side %%% 919-577-9882 % the coin will fall." %%%%


ADSP-21364 Beginners Guide

Started by omal...@gmail.com in comp.dsp18 years ago 6 replies

I have written some Matlab code and am trying to embed it on an Analog Devices adsp-21364 processor. This is my first time using a dsp and I'm...

I have written some Matlab code and am trying to embed it on an Analog Devices adsp-21364 processor. This is my first time using a dsp and I'm having alot of trouble getting started, big lack of documentation on the basics. I am willing to re-write the matlab code in C or assembly. Could anybody supply a link to some good relevant documentation Thanks very much


Re: Kalman filtering with multiplicative noise

Started by Anonymous in comp.dsp16 years ago

> Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > isn't an extension of the Bible. I would trust them for examples,...

> Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > isn't an extension of the Bible. I would trust them for examples, but > don't take their documentation for anything but a means of selling you > copies of MatLab. The link I posted is a user contribution, not an example from the Mathworks, so I don't trust it entirely. However the Wikipedia article on EKF's seems


Re: Kalman filtering with multiplicative noise

Started by Tim Wescott in comp.dsp16 years ago

dsp@myallit.com wrote: > > Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > > isn't an extension of the Bible. I...

dsp@myallit.com wrote: > > Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > > isn't an extension of the Bible. I would trust them for examples, but > > don't take their documentation for anything but a means of selling you > > copies of MatLab. > > The link I posted is a user contribution, not an example from the > Mathworks, so I don't trust it entirely. However the


Re: Kalman filtering with multiplicative noise

Started by RRogers in comp.dsp16 years ago

On Jul 23, 1:02 am, d...@myallit.com wrote: > > Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > > isn't an...

On Jul 23, 1:02 am, d...@myallit.com wrote: > > Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab > > isn't an extension of the Bible. I would trust them for examples, but > > don't take their documentation for anything but a means of selling you > > copies of MatLab. > > The link I posted is a user contribution, not an example from the > Mathworks, so I don't trust


circular array beamforming

Started by hassanhamdoun859 in comp.dsp16 years ago

Dear all I am trying to calculate the broadband radiation pattern(beampattern) of a circular array beamformer operating in a given frequency...

Dear all I am trying to calculate the broadband radiation pattern(beampattern) of a circular array beamformer operating in a given frequency range(1 octave) such that the main lobe response is approximately similar for all frequencies i.e the beampattern is frequency invariant I am trying to do that in MATLAB , I need help references matlab documentation or any usefull papers please help...


Hilbert transform in MATLAB

Started by Rajan in comp.dsp18 years ago 9 replies

I do not have much experience with the MATLAB. I want to perform Hilbert transform on real time data. I found that MATLAB do have a...

I do not have much experience with the MATLAB. I want to perform Hilbert transform on real time data. I found that MATLAB do have a in-built function "hilbert". Can anyone tell me- whether I use that in-built function directly to get hilbert transform of real time signal or do I need to perform FFT on real data to get the data in analytic form and then zero-out all of the FFT resulting neg...


How to generate an extended (128, 122) RS encoder in matlab?

Started by yongliphd in comp.dsp18 years ago

I try to do the coding of (128,122) over GF(128) in matlab. But rsenc doesn't allow me to use extended RS code. (m = 7, n = 128, k =...

I try to do the coding of (128,122) over GF(128) in matlab. But rsenc doesn't allow me to use extended RS code. (m = 7, n = 128, k = 122) Does any one have similar experience? Could you give me any suggestion? Thanks! Best, Yong


Saving a matlab plot as an image help

Started by jimmy1 in comp.dsp14 years ago

Hi everyone, I have a matlab related quetion which can seem simple but it's taking me ages. I am plotting an x and o over an image and I...

Hi everyone, I have a matlab related quetion which can seem simple but it's taking me ages. I am plotting an x and o over an image and I want to save that image whith the same size as the original one. This is what I mean: figure, imshow('data0002.tif'), hold on, figure,plot(Z{2}(1,:),Z{2}(2,:),'rx',hat_X{2}(1,:),hat_X{2}(3,:),'co') With this command I manage to do that, the proble...


Simulating CTFT in MATLAB and calculating energy with Parseval's Theorem

Started by yardleydobon in comp.dsp16 years ago

Hi. Would someone please review my MATLAB code and tell my where I'm messing up? I want to simulate a continuous time signal and then apply...

Hi. Would someone please review my MATLAB code and tell my where I'm messing up? I want to simulate a continuous time signal and then apply Parseval's Theorem for the continuous time FT. I'm simply using the rectangular method to approximate integration. I've checked the values of Ex with another program, and the results are close enough. The problem is that the EX does not equal Ex. Is ...


FSK modulation and clean FFT

Started by Ted T in comp.dsp16 years ago 8 replies

Hi, I'm looking at FSK modulation in matlab, using my own modulator as I don't have the matlab comms toolbox. In the time domain, the...

Hi, I'm looking at FSK modulation in matlab, using my own modulator as I don't have the matlab comms toolbox. In the time domain, the signal looks fine, but in the frequency domain, it just doesn't seem to work, I get lots of other garbage in the spectrum. I'm hoping someone can see an error in my ways... First, the time axis is 10 seconds sampled at 20Hz ie: t = 0:1/20:((200/20)-(1/2...


sound card output to matlab giving funny noise

Started by Adam Chapman in comp.dsp15 years ago

Hi, I posted this on in the matlab forums but got no response, thought I might find somebody with more relevant knowledge here. Basically....

Hi, I posted this on in the matlab forums but got no response, thought I might find somebody with more relevant knowledge here. Basically. Whilst playing music on Itunes or windows media player, I ran the following code to get and plot 20 seconds of audio data: ai = analoginput('winsound'); Fs=8000; time=20; set(ai,'SamplesPerTrigger',Fs*time) addchannel(ai, 1); tic; start(ai);...


DVB-H OFDM matlab Question

Started by idan82 in comp.dsp17 years ago

Hello I am working on simulating DVB-H 4k mode according to ETSI standard. According to the standard i am populating 3024 data carriers with...

Hello I am working on simulating DVB-H 4k mode according to ETSI standard. According to the standard i am populating 3024 data carriers with QPSK. I am trying to validate the simulation by measuring the BER before Vit&RS decoding and comparing to standard Eb/No qpsk curves. The problem is that I am using the MATLAB AWGN function with SNR from 0to12dB and the flag 'measured'. I would like to know ...