Forums Search for: Random
Generate rand. data with zero skewness and some kurtosis
Dear all, Right now, I'm doing research about outlier in statistical data (univariate and multivariate) and I want to simulate...
Dear all, Right now, I'm doing research about outlier in statistical data (univariate and multivariate) and I want to simulate its behavior. My problem is : How to generate random data from distribution with zero skewness and some kurtosis values in Matlab ?
Re: Random numbers
hi, for normally distributed numbers with a standard deviation of 100 and a mean of 0 use a = 100*randn(20,1); for...
hi, for normally distributed numbers with a standard deviation of 100 and a mean of 0 use a = 100*randn(20,1); for evenly distributed numbers between -100 and 100, use a = 200*(rand(20,1)-0.5) ; At 21:54 3/10/2001 +0100, ik wrote: >I a
seed to random number generators
Hi all I have started using Matlab very recently and I like it a lot. I want to set the seed at a fixed value so that I will...
Hi all I have started using Matlab very recently and I like it a lot. I want to set the seed at a fixed value so that I will have same data sets generated by weibrnd and binornd whenever I run the program. I couldn't find a way to assign a value to the seed before I call weibr
density estimation
Dear Group. I have two problems: 1) How can I do multi-variate density estimation in Matlab? 2) How can I then take...
Dear Group. I have two problems: 1) How can I do multi-variate density estimation in Matlab? 2) How can I then take random draws based on the estimated density function? Any help is greatly appreciated. Thank you for your time.
Loading many images
hi, I have around 1000 images which I need to load in to matlab and do some operations on. The problem is that the images have...
hi, I have around 1000 images which I need to load in to matlab and do some operations on. The problem is that the images have random names without any order. Any suggestions on how I could read them in to matlab? thanks mehdi
frequency domain representation of Rayleigh fading simulator in matlab
How to generate complex gaussian random variables for each of N/2 positive frequency components od noise source In Matlab ...
How to generate complex gaussian random variables for each of N/2 positive frequency components od noise source In Matlab
FSK modulation
I'tyring to generate a bit stream that will be modulated using an FSK signal. So far what I have is when I plotted the graph what I...
I'tyring to generate a bit stream that will be modulated using an FSK signal. So far what I have is when I plotted the graph what I have is not an FSK signal but a bit stream.... bit = round(rand(1,10)); % bit stream of random 1's and 0's bitperiod = 0.1; %bit period fs
Random number selection
Dear all, I would like to select a number of entries from a fix set. Say i want to select 4 numbers from the set [1 45 26 987...
Dear all, I would like to select a number of entries from a fix set. Say i want to select 4 numbers from the set [1 45 26 987 25 97 65 89 46]. One possible result can be [56 987 65 46]. How can I achieve that? Thanks in advance! J.Y.
Serial Communication PC 2 PC
Hi, i`m trying to make a communication between two PC`s through serial port. How to do this with matlab. The scene is: ...
Hi, i`m trying to make a communication between two PC`s through serial port. How to do this with matlab. The scene is: The PC#1 generate random data and use the serial port to transmit the data to PC#2 through a serial connection (cross connection), this PC
Gaussian Distribution Power Spectrum
I'm trying to plot the power spec of a set of normally distributed random values. I'm told it should look like a straight line. ...
I'm trying to plot the power spec of a set of normally distributed random values. I'm told it should look like a straight line. However, I'm not seeing this. I'm seeing a 'spike' at the beginning, or at the end, depending on the shift. Any thoughts? As you can see, I'm a begin
"Random walk" power spectrum
Hello, What I'd like to do is simulate receiving a radar signal, accumulating the values (say an array of 40 values), and then ...
Hello, What I'd like to do is simulate receiving a radar signal, accumulating the values (say an array of 40 values), and then perform a power spectrum on this array. Data from the radar is shown to be normally distributed. There are the I and Q parts of the signa
Help Loading Data
I have a data file that I'd really like to load into matlab because it is very convient for me to do the analysis in matlab....
I have a data file that I'd really like to load into matlab because it is very convient for me to do the analysis in matlab. Normally between textread and load I don't have a problem doing this, but this file contains 'random' strings every once in a while. Most of the file is number
?? sample rates more than 100kHz
hi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz...
hi everybody, i am not able to obtain a sampling rate more than 110 kHz using MATLAB or BORLAND C++ 5. If I use more than 1 MHz sampling rate, then more and more samples has the same value; getting a random step waveform. If any body knows how to obtain higer sample rates of th
creating correlated 2-D noise?
I need to create noise on a 2-D grid, say: [x,y]=meshgrid(-100:100,-100:100); where I can set the correlation length. I know...
I need to create noise on a 2-D grid, say: [x,y]=meshgrid(-100:100,-100:100); where I can set the correlation length. I know that I need to take random noise and then filter it somehow, but I don't know how to do that. I've been reading the matlab help files, but it loo
Re: Periodic Random bit with period n=15
Hi, Giving a linear shift to periodic sequence is equivalent to giving the sequence in one period a circular shift (circshift...
Hi, Giving a linear shift to periodic sequence is equivalent to giving the sequence in one period a circular shift (circshift Note:This will work on columns of a matrix, so make necessary transposes as required). Let the original matrix be called 'a' and the shifted one 'b'.
FFT Zoom Transform
Hi all Has anyone implemented the 'FFT Zoom Transform' in a m-code function? (ref. pg434 in 'Random Data: Analysis and...
Hi all Has anyone implemented the 'FFT Zoom Transform' in a m-code function? (ref. pg434 in 'Random Data: Analysis and Measurement Procedures' By J.S Bendat). Regards Graham
Single Port RAM in matlab
Hi, I want to design a single ported RAM [Random Access Memory] in matlab. The Memory will have address, Data and Write...
Hi, I want to design a single ported RAM [Random Access Memory] in matlab. The Memory will have address, Data and Write Enable as a Input Port. Behaviour is if addr>=0 if WE == 1 X(addr) = din; end Dout <= X(addr);
Frequency division multiplexing
Dear Sir: I am simulating a frequency division multiplexing of K channels. The sources are random integers. The modulation is...
Dear Sir: I am simulating a frequency division multiplexing of K channels. The sources are random integers. The modulation is QPSK. =What kind of lowpass filter shall I use? =How shall I do the frequency shift (expj?) in simulink? Should I do it in frequency domai
randn command
This command generates a normaly distributed random number with zero mean and variance equals to 1. How do I modify the variance...
This command generates a normaly distributed random number with zero mean and variance equals to 1. How do I modify the variance of the command? thanks Rene Bartar __________________________________________________________________________ Acabe com aquelas j
random variable of desired pdf
Hi, I am modelling a wireless channel, I want to model the channel as mixture of two guassians which is suitable for my...
Hi, I am modelling a wireless channel, I want to model the channel as mixture of two guassians which is suitable for my applications. i.e. f= a*f1+b*f2; where f is the pdf of the noise signal. f1 and f2 are gaussian pdfs with mean 0 and variance =1, a and b a






