DSPRelated.com

Loading many images

Started by Anonymous in Matlab DSP22 years ago 3 replies

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


Poisson distribution

Started by HARI KRISHNA Vuppaladhadiam in Matlab DSP24 years ago 3 replies

I 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

Started by khma...@gmail.com in Matlab DSP18 years ago 3 replies

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...

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

Started by imageprocessingx in Matlab DSP21 years ago

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

Started by nammi sairamesh in Matlab DSP19 years ago 16 replies

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


randn command

Started by Rene Bartar in Matlab DSP20 years ago 4 replies

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


density estimation

Started by Anonymous in Matlab DSP22 years ago 1 reply

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.


Removings spikes in a data set

Started by thisara w in Matlab DSP13 years ago 1 reply

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...

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

Started by g_rahame in Matlab DSP20 years ago 1 reply

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


frequency domain representation of Rayleigh fading simulator in matlab

Started by sreejyothi jonnalagadda in Matlab DSP21 years ago

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

Started by rosh...@gmail.com in Matlab DSP16 years ago 8 replies

Hello, 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

Started by Tarang Dadia in Matlab DSP19 years ago

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

Started by Zeynep Kalaylioglu in Matlab DSP22 years ago

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

Started by pado...@libero.it in Matlab DSP19 years ago

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

Started by sonali mehra in Matlab DSP18 years ago

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

Started by Anonymous in Matlab DSP23 years ago

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

Started by durian_world in Matlab DSP21 years ago 2 replies

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.


Simulating

Started by lealehtola in Matlab DSP18 years ago

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?

Started by Rowena Lohman in Matlab DSP21 years ago

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

Started by Jon in Matlab DSP21 years ago 1 reply

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