Forums Search for: Random
Loading many images
inhi, 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
Poisson distribution
inI would like to generate random numbers with poisson distribution. Is anyone having any reference to this program. (without using...
I would like to generate random numbers with poisson distribution. Is anyone having any reference to this program. (without using Comm toolbox). hari _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail
Power Spectral Density
inDear All, I am really strugling to write a nice program giving me the curve of the PSD of a random data. If I use the FFT function I will...
Dear All, I am really strugling to write a nice program giving me the curve of the PSD of a random data. If I use the FFT function I will get a descreat representation and not smooth and continues like I found in some publication. Could any one help me with some matlab code to plot a continues PSD. Thanks very much regards
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 variable of desired pdf
inHi, 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
randn command
inThis 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
density estimation
inDear 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.
Removings spikes in a data set
inHi, I am wondering is there any way to remove random spikes in the data.? If someone can help me I can send out a sample of my data set. Your...
Hi, I am wondering is there any way to remove random spikes in the data.? If someone can help me I can send out a sample of my data set. Your help is highly regarded Thanks Thisara
FFT Zoom Transform
inHi 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
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
matrix preallocation
inHello, Can someone please show me how to optimize this bit of code in matlab. I get a warning saying, \"consider preallocating \'rect\' for...
Hello, Can someone please show me how to optimize this bit of code in matlab. I get a warning saying, \"consider preallocating \'rect\' for speed\". and the code is taking a loong time to execute. %-------------------------------------------------------------- samples = 36; m = randsrc(1,10000); % produces random -1\'s and 1\'s. rect = []; % make empty matrix to store for i = 1:length(m)...
Re: mfr models for image segmentation
Abdulkadir, Nope I do not have any code for markov random fields. I am forwarding this email to Matlab group may be someone...
Abdulkadir, Nope I do not have any code for markov random fields. I am forwarding this email to Matlab group may be someone from there mite be able to help you Hope this helps Tarang On Tue, 22 Mar 2005 03:18:14 -0800 (PST), abdulkadir s
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
QPSK or BPSK for ZF equalization
Hi all!! I implemented in Matlab some different ZF equalizations, but I should change the input signal froma random [+1/-1] signal to a QPSK...
Hi all!! I implemented in Matlab some different ZF equalizations, but I should change the input signal froma random [+1/-1] signal to a QPSK or BPSK signal (choosing number of samples, oversampling and so on..), but I have no idea of how doing it. Could anyone give me some advices or some code-examples? Thank you all in advance, Ella PS:here there
mrf based segmentation
hi all, i am working on image compression, i have encountered a problem while implementing mrf for image segmentation. Could anyone of u...
hi all, i am working on image compression, i have encountered a problem while implementing mrf for image segmentation. Could anyone of u help me by suggesting any link or code source for image segmentation using Markov Random Fields. Please help me. Thanks in advance sonali
Pareto and Zipf distribution
Hi, there, Has anyone implemented Pareto and Zipf distributions? I want to have the random number generator, pdf and cdf and...
Hi, there, Has anyone implemented Pareto and Zipf distributions? I want to have the random number generator, pdf and cdf and inv-cdf of them. THanks for any information. --James
Random number selection
inDear 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.
Simulating
I am using an AR model to estimate a noise sequency, I should be able to simulate a longer sequency of the noise. I have tried to use ...
I am using an AR model to estimate a noise sequency, I should be able to simulate a longer sequency of the noise. I have tried to use predict command, but the sequency looks different. I have also tried too use a long random noise sequency and used that with the model, but then frequencies don't match. Is there any methhod I could solve this problem,
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
Help Loading Data
inI 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