Forums Search for: Matlab
Need some advice on matlab.pls help
inHi all, i am using matlab and encountered some problems. Kindly advice. 1)i am using newff function to create a neural network.After...
Hi all, i am using matlab and encountered some problems. Kindly advice. 1)i am using newff function to create a neural network.After which, someone advised me to set some of the parameters ,for example, net.performFcn,net.trainParam.goal and many more. But i tried using my matlab help and search for function to llok up for what these parameters do. However, i can't find any help on these parame...
Daubechies-4 wavelet transform in MATLAB
inHello: I have a 4x4 matrix which I wish to decompose into 4 frequency bands (LL, HL, LH, HH where L=low, H=high) by using a one-level...
Hello: I have a 4x4 matrix which I wish to decompose into 4 frequency bands (LL, HL, LH, HH where L=low, H=high) by using a one-level Daubechies-4 wavelet transform. As a result of the transform, each band should contain 2x2 coefficients. How can I do this in MATLAB? I know that MATLAB has dbaux and dbwavf functions. However, I'm not sure how to use them and I also don't have the wavelet t...
Least Pth Norm Optimal Method
inHello, I'm interested in papers, articles or books with information on the application of this method for designing filters. I don't want...
Hello, I'm interested in papers, articles or books with information on the application of this method for designing filters. I don't want articles on using MATLAB. I know how to apply this method using MATLAB. I'm interested in the underlying theory. Any suggestions? A google search yields only MATLAB articles. Thanks
Sine signal with varied frequency in a matlab M-file
inHello I am trying to generate a sine signal with varied frequencies in a matlab m-file and here is the piece the code that i am using. This...
Hello I am trying to generate a sine signal with varied frequencies in a matlab m-file and here is the piece the code that i am using. This gives me error and i cannot figure out what went wrong. i hope those familiar with " the for loop statements in matlab" can give me some hints Thank you in advance! (sorry if this message is posted twice, i was not sure if the first one reached its ...
Polynomial Multiplication (in Matlab and VHDL)
inI'm looking for an efficient way to multiply polynomials. It's very important to me to maintain a degree of similarity between my simulation...
I'm looking for an efficient way to multiply polynomials. It's very important to me to maintain a degree of similarity between my simulation in Matlab and my implementation in VHDL. Suppose I have polynomials with coefficients represented by the column vectors X and Y. My first thought for the Matlab simulation is to use matrix multiplication to obtain P=X*Y' and then collect the terms fo...
CDMA Tx (simulink)
hi all i'm woring on CDMA Tx and Rx using matlab simulink (using matlab 7_which is compatible with the kit),but i got some problems when i...
hi all i'm woring on CDMA Tx and Rx using matlab simulink (using matlab 7_which is compatible with the kit),but i got some problems when i downloaded it on the kit(C6713),even that the program was free of errors,, it rejects some blocks at the last step when converting it to CCS (using...control+B),,,, if any one had already made CDMA system using matlab simulink 7,,,i would gratfull for his help...
fftw and dct/idct
inHi, I'm trying to convert a piece of Matlab code to C using the fftw library, but I'm having some troubles with how to handle the Matlab...
Hi, I'm trying to convert a piece of Matlab code to C using the fftw library, but I'm having some troubles with how to handle the Matlab function "idct". I haven't found much documentation about this but I'm assuming it's a type-II dct so I've been using the "FFTW_REDFT01" but I don't get the same results as when I run the script in Matlab. Using google I have found some vague hints that I might ...
How to Deal with Whole DSP signals and systems
Hi All I had been simulating OFDM transmitter and Receiver in MATLAB . Down the line system started crashing out as the number of...
Hi All I had been simulating OFDM transmitter and Receiver in MATLAB . Down the line system started crashing out as the number of variables(unwanted) increased in number. More i try to contain the variables more do they increase in size... Is this Problem with MATLAB or problem with my system ? Should i upgrade to higher version of MATLAB... How one can handle the...
IIR Wiener Filter in Matlab
inI am attempting to code an IIR wiener filter for system identification in Matlab, but I am currently having some difficulty with the theory......
I am attempting to code an IIR wiener filter for system identification in Matlab, but I am currently having some difficulty with the theory... Can someone please clarify? To find the spectral factorization, my understanding is that I take the roots of the autocorrelation sequence, then select those whose magnitude fall within the unit circle? Does anyone have any example IIR Wiener Matlab sc...
Plotting an audio file using matlab
inHello, I am trying to plot an audio file using matlab. can i get a sinusoidal plot of the audio file if so what matlab command is useful?...
Hello, I am trying to plot an audio file using matlab. can i get a sinusoidal plot of the audio file if so what matlab command is useful? any help is appreciated This message was sent using the Comp.DSP web interface on www.DSPRelated.com
Deczky all-pass filter design Matlab
inHi All, Does anyone know Deczky all-pass design algorithm implemented in Matlab. Information about implementation of any other all-pass...
Hi All, Does anyone know Deczky all-pass design algorithm implemented in Matlab. Information about implementation of any other all-pass design algorithms in frequency domain in Matlab would be highly appreciated as well. Regards Pawel
MATLAB RAYLEIGH CHANNEL AND MY CODE GIVE DIFFERENT RESULT
inHi I would grately appreciate if someone could ans my question I have implemented MULTIPATH MODEL( without doppler) and compared it with...
Hi I would grately appreciate if someone could ans my question I have implemented MULTIPATH MODEL( without doppler) and compared it with MATLAB rayleighchan function. Every time I see scatterplot of my output it changes shape ( although overall shape is similar) but MATLAB rayleighchan gives me same scatterplot shape. I dont understand this, we use complex gaussian process scaled b...
The decoding algorithm used in Matlab LDPC decoder
Hi All, I have used Matlab inbuilt LDPC decoder 'fec.ldpcdec()' function. I have considered soft-decision decoding. I would like to know which...
Hi All, I have used Matlab inbuilt LDPC decoder 'fec.ldpcdec()' function. I have considered soft-decision decoding. I would like to know which decoding algorithm is used by the Matlab. Can anyone please answer this question. Thanks in advance. _____________________________ Posted through www.DSPRelated.com
IIR filter design, Matlab and a genetic algorithm
inHello, Can somebody indicate some Matlab code, where IIR filters do get synthezised based on a target magnitude curve and optionally a...
Hello, Can somebody indicate some Matlab code, where IIR filters do get synthezised based on a target magnitude curve and optionally a target phase curve also ? There are interesting publications, like from : - Baicher - Juang-Kong - Kakaboga-Cetinkaya I'd like experiment on that idea using Matlab. Especially comparing the results with the Yule-Walker method and with the FDLS-Bechin ...
Transfer function and Coherence using Matlab
inHi All, 1) I have a windows application created using .NET, C# to be specific. 2) I have two waveforms X and Y. X is input waveform and...
Hi All, 1) I have a windows application created using .NET, C# to be specific. 2) I have two waveforms X and Y. X is input waveform and Y is output. X and Y are nothing but 1048 samples of complex data in an Array. 3) I have FFT algorithm with me. 4) Now can anyone help me calculate the Transfer function and Coherence using Matlab. I think Matlab has some function call to calculate...
Simulation of DTFT in MATLAB
inHow do I have to simulate the Discrete time Fourier Transform in MATLAB? Do I have to make use of freqz function for it? Thanks in advance. -...
How do I have to simulate the Discrete time Fourier Transform in MATLAB? Do I have to make use of freqz function for it? Thanks in advance. - Krishna
regarding CELP matlab code
Hi i tried to download the celp matlab code from www.cysip.com, but after filling the registration form the link fails to download. can anybody...
Hi i tried to download the celp matlab code from www.cysip.com, but after filling the registration form the link fails to download. can anybody tell me where to get free CELP matlab code. Regards dharma.k
Measuring the correct SNR for image in matlab
inHello all, I am trying to add noise of 5dB to an image in matlab according to the following steps SNR = 5; Id = double(Io) / 255; v =...
Hello all, I am trying to add noise of 5dB to an image in matlab according to the following steps SNR = 5; Id = double(Io) / 255; v = var(Id(:)) / 10^(SNR/10); I_my_noisy = imnoise(Id, 'gaussian', 0, v); but when I measure the SNR by using the matlab command [peaksnr,snr] = psnr(I_my_noisy, Id) I get SNR equal 10. So, what is the wrong in my code? and why the result differ from...
matlab help needed for Digital signal pulse shaping and baseband transmission
inHi all, I am a student and quite new to dsp. I need some help with matlab. I am trying to write the matlab code that will sample the input data...
Hi all, I am a student and quite new to dsp. I need some help with matlab. I am trying to write the matlab code that will sample the input data stream u = [+1 -1 +1 +1 -1] and make pusle shaping to nyquist raised cosine pulse before being transmitted to the channel. Is it that the PAM block performs the sampling function but only selects one pulse (middle pulse) to trigger the Tx Filter? The ny...
A really simple question on channel gain and path loss
inHello all, I am a newbie to Matlab and DSP. I am trying to write a Matlab code that simulates the effect of IEEE 802.11a interference on...
Hello all, I am a newbie to Matlab and DSP. I am trying to write a Matlab code that simulates the effect of IEEE 802.11a interference on UWB communication. The question is wrt the Matlab implementation of the received signal. I want to implement the code as follows: r(t) = UWB_ChannelGain * s(t) + AWGN + 80211a_ChannelGain*I(t) where, r(t) = received signal s(t) = transmitt...