DSPRelated.com

Modified Jakes, OFDM implementation

Started by abouzeidtarek in Matlab DSP15 years ago 1 reply

Hi, I am trying to simulate on Matlab a Rayleigh channel for my OFDM signal. I am using the code below to generate the channel...

Hi, I am trying to simulate on Matlab a Rayleigh channel for my OFDM signal. I am using the code below to generate the channel coeficients. The output of this code is a matrix in this case: h = (modified_jakes1(100,2000,10,3,100,0)) is 100 coefficients and 3 multipath chanel.(is this correct?) how can i filter my time domain signal with these coefficient? any idea how to equilize the...


magnitude_squared_coherence_in_matlab

Started by emkatsogridakis in Matlab DSP15 years ago

Hi guys, I m having a problem with matlab and i need your help. I have two output signals (let's say B and C) which are recordings of the...

Hi guys, I m having a problem with matlab and i need your help. I have two output signals (let's say B and C) which are recordings of the same physiological process, at symmetrical parts of the body, and the input signal A. To see if there is noise in my recordings, i m subtracting B and C , and calculating the magnitude squared coherence of DV=C-B to A. As expected the coherence is very...


viterbi

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

Hello all, I have a problem regarding using viterbi decoder in wifi PHY. I try to use hmmviterbi in GNU Octave , for decoding soft data...

Hello all, I have a problem regarding using viterbi decoder in wifi PHY. I try to use hmmviterbi in GNU Octave , for decoding soft data (which was encoded with convolutional encoder with 3/4 rate) but met the following problem: How I can create the TRANSPROB (transition probability) and OUTPROB (output probability) matrices. Please help... Thanks in advance.


nested function in uicontrol callback

Started by Nader in Matlab DSP15 years ago 2 replies

Hi all, nested functions do NOT work inside uicontrol callback. Try this example as an m-file: %%%%%%%%% start code: function file ttt.m ...

Hi all, nested functions do NOT work inside uicontrol callback. Try this example as an m-file: %%%%%%%%% start code: function file ttt.m %%%%%%%%%%%%%%%% function ttt uicontrol('Style', 'checkbox', 'Units','normalized', ... 'Position', [0.01 0.25 .08 .05],... 'Callback', ['mmm']); function mmm x=3 %%%%%% end of code %%%%%%%%%%%%%%%% Any tip? I do not ...


Problem with fourier transform

Started by acepsut in Matlab DSP15 years ago 3 replies

Hello all, I have a problem about period amplitude and phase distortion when performing a fourier trasform. The problem arise when I have two...

Hello all, I have a problem about period amplitude and phase distortion when performing a fourier trasform. The problem arise when I have two periods with different amplitude but very close. An example; I create one cosine function with period=90 amp=60 and phase 2.2 rad, another one with period= 75 amp=30 phase=1.1 and then sum togheter. If I perform an FT on this sum of cosines I get...


BandPass FIR filter using Windowing

Started by mike...@comcast.net in Matlab DSP15 years ago 2 replies

I am working on a school project, and I need to create a Linear phase, causal, digital Bandpass FIR filter using windowing methods. with the...

I am working on a school project, and I need to create a Linear phase, causal, digital Bandpass FIR filter using windowing methods. with the following specifications. Sampling fs= 24khz Passband freq= p1= 2*pi*4000, and p2= 2*pi*8000 rad/sec stopband freq= st1=2*pi*3000 st2=2*pi*9000 rad/sec Minimum stopband attenuation = 40db having the lowest possible filter length. I fou...


Spreading Sequences (PN code)

Started by najmy in Matlab DSP15 years ago 1 reply

Hi all, Right now, I am doing simulations on a multiuser detection (MUD) for a synchronous MC/CDMA system.  In this case, I need to compare the...

Hi all, Right now, I am doing simulations on a multiuser detection (MUD) for a synchronous MC/CDMA system.  In this case, I need to compare the BER performances among several spreading sequences with various N-length i.e. Gold 31, Gold 32, Gold 64, Hadamard-Walsh 32, Hadamard-Walsh 64, Kasami 32, and Kasami 64.  Please anybody help me to tell me where (website) can I get all the PN codes.  I d...


Re: Batch Image Processing

Started by cole...@gmail.com in Matlab DSP15 years ago

What if the my images numbering is this format DSC_001, DSC_002,......DSC_500? how do I write alter the code to suit this? skeleton of the code...

What if the my images numbering is this format DSC_001, DSC_002,......DSC_500? how do I write alter the code to suit this? skeleton of the code shud b something like this for i = 1 : 500 fname = [pic num2str(i)]; image = imread(fname,'bmp'); % do contrast enhancement% imwrite(image,fname,'bmp'); end > > Hi, > > I have a specific problem in Image Processing. I have an i


Re: gain scaling of comb filter

Started by wuqi...@yahoo.cn in Matlab DSP15 years ago

Hi, have you get your answer? I am a beginner of this field. I am in a project that have to use the CIC filter. The gain of the filter also puzzle...

Hi, have you get your answer? I am a beginner of this field. I am in a project that have to use the CIC filter. The gain of the filter also puzzle me a lot. In matlab, I could just divide by 1/gain(CIC) before or after the CIC to scale the gain of this filter to 0 dB. But I don't know how to implement it in verilog or in the hardware. Also I don't know whether is it necessary. > > > > H


Pn sequence generation

Started by muna...@yahoo.com in Matlab DSP15 years ago 2 replies

Can any body give me some reference how to generate PN sequence with required autocorrelation characteristics.If Pi is the sequence of length M ...

Can any body give me some reference how to generate PN sequence with required autocorrelation characteristics.If Pi is the sequence of length M PiPj = M if i =j PiPj = -1 else Thank you Rakesh


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