Periodic Random bit with period N = 15

Started by nguyenetung in Matlab DSP15 years ago

Hi everybody, I just start to study something about Matlab. My question is: If I have a periodic random bit with period N = 15...

Hi everybody, I just start to study something about Matlab. My question is: If I have a periodic random bit with period N = 15 is given as x(k)= [0 0 0 1 0 0 1 1 0 1 0 1 1 1 1]. Find the correlation sequence by using the following equation, and plot it R(m) = (No. of agrr


Random numbers in MATLAB6

Started by Bart Hautala in Matlab DSP16 years ago 4 replies

Saw the past post about generating random numbers from -100 to 100 but what if I needed to generate them from like -20 to -10? or...

Saw the past post about generating random numbers from -100 to 100 but what if I needed to generate them from like -20 to -10? or 4.5 to 5?


PRNG for dither

Started by will...@sygnvs.com in Matlab DSP11 years ago

Hi, I am currently researching dithered quantization. Does anyone know of a commonly used pseudo-random number generator that is used to...

Hi, I am currently researching dithered quantization. Does anyone know of a commonly used pseudo-random number generator that is used to produce dither signals? The application is not spefic to audio or video or images, I am just trying to compare the statistical properties of random signals which are quantized using different PRNG's to generate the dither signal. thanks, Will


How to generate random noise voltage?

Started by khoo_nelson in Matlab DSP10 years ago 2 replies

Hello, I'm quite new in using Matlab.How to generate a 2000-point random noise voltage with a dc or mean value of 0 and an rms value of 10 V...

Hello, I'm quite new in using Matlab.How to generate a 2000-point random noise voltage with a dc or mean value of 0 and an rms value of 10 V using a time step of 1 us. I try like this N=2000; for n=1:N x(n)=10*rand(); end I don't know correct or not. Please help me!Thank you!


Seeds in random numbre generators...

Started by Pramodh Narayanan in Matlab DSP16 years ago 2 replies

Hi! I just need to generate random numbers that follow some distribution like poisson, exponential,normal,etc. For these...

Hi! I just need to generate random numbers that follow some distribution like poisson, exponential,normal,etc. For these distributions there are functions available directly like poissrnd for poisson distribution, normrnd for normal distribution,etc. But every time


LP filter..

Started by zkhodakaramiii in Matlab DSP11 years ago

hi colleagues... i have generated a random signal in matlab with normal distribution (my code is written below). my signal is high...

hi colleagues... i have generated a random signal in matlab with normal distribution (my code is written below). my signal is high frequency and i want to filter it to have lower frequencies at about 1/300


Negative Random number generation

Started by Ishtiaque Ahmed in Matlab DSP11 years ago 2 replies

Hello, I need to generate random numbers, for example, in the range -20 to 20 or -150 to 150 or so for 1200 points. How can I do this using...

Hello, I need to generate random numbers, for example, in the range -20 to 20 or -150 to 150 or so for 1200 points. How can I do this using 'rand' function in matlab?? I got one way to do this from this forum, like: a = unifrnd (-2 , 2 , [1024,1]); and, it was said that rand is equivalent to unifrnd. So, I tried with rand but the warning says: Warning: Input...


normal random noise with zero mean, variance not equal to 1

Started by mao mu in Matlab DSP14 years ago 4 replies

Hi folks, How do I generate a random noise with zero mean, variance not equal to 1. randn() is for zero mean, variance=1 case....

Hi folks, How do I generate a random noise with zero mean, variance not equal to 1. randn() is for zero mean, variance=1 case. Thanks, Mu


Introduce correlation into wireless fading channel

Started by cash...@gmail.com in Matlab DSP11 years ago

Hi experts I need to simulate wireless MIMO fading channel in both Gaussian and Rayleigh random variables. I have implemented the channel...

Hi experts I need to simulate wireless MIMO fading channel in both Gaussian and Rayleigh random variables. I have implemented the channel matrix H = h11 h12 h21 h22 where h11 h12 h21 h22 are independent Gaussian or Rayleigh random variables. Could somebody teach me how to introduce correlations among thoese random variables in terms of correlation coefficient? Thanks for any he...


CWT

Started by Rajeev Yadav in Matlab DSP13 years ago 1 reply

Hi All, I have a problem, hope you can solve it... I have a random non-stationary signal, and i have to detect noise which again...

Hi All, I have a problem, hope you can solve it... I have a random non-stationary signal, and i have to detect noise which again random in nature, but if you take noise both noise and signal can be considered as noise, so in short i have to findout noise in noise,which is my signal, is there anyway to do such problems, ...signal is 100 muV and


how can we select a random element of a matrix

Started by cagi...@hotmail.com in Matlab DSP11 years ago 9 replies

Hi all, How can we select random elements from a matrix. Let suppose, we have a 3x4 matrix, 2 4 6 3 6 8 4 ...

Hi all, How can we select random elements from a matrix. Let suppose, we have a 3x4 matrix, 2 4 6 3 6 8 4 2 2 5 6 7 we want to randomly select 3 elements form that matrix, it doesn't matter from which column or row. What matlab code should we write? Thank you,


saving a file

Started by jplav32 in Matlab DSP14 years ago 2 replies

Hi, I am actually using matlab to generate random data files and I'd like to know if there is any way to force matlab to save...

Hi, I am actually using matlab to generate random data files and I'd like to know if there is any way to force matlab to save my files with a different name each time I run the program. Actually, I use fopen('data.txt','wb') to save my random data but I'd l


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago 1 reply

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


conv and deconv functions

Started by brijrajv in Matlab DSP14 years ago

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes...

Hi all, I am having problems using the combination of conv and deconv function. I have a large number of random processes which I convolve with its fliped version, then I deconvolve the result obtained from convolution with the fliped version of random process, the proce


Generate a multi-level pseudo-random series

Started by Yimin zhou in Matlab DSP11 years ago

Dear all, I am wrting my thesis now and I need to generate a mult-level pseudo-random series to compare my method. Is there anyone possible to...

Dear all, I am wrting my thesis now and I need to generate a mult-level pseudo-random series to compare my method. Is there anyone possible to send me the program that can generate this series. Thanks you guys. Cheers, Jenny