Forums Search for: Random
zero padding question
I have a question that has been bugging me fo rsome time and I am hoping someone here can help me get to the bottom of it. It is a zero padding &...
I have a question that has been bugging me fo rsome time and I am hoping someone here can help me get to the bottom of it. It is a zero padding & FFT issue. Here goes; If I take 2 random signals for deconvolution (say 1000 samples and 1500 samples long with same sampling time). If I zero pad both out to 4096, take FFTs, devide one by another, then take iFFT, I get a graph of one signal deconvo...
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
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
FFT Frequency plot
I'm having some problems with a simple spectrum analyzer I've been designing in Matlab (with GUIDE). I'm trying to plot the single...
I'm having some problems with a simple spectrum analyzer I've been designing in Matlab (with GUIDE). I'm trying to plot the single sided Amplitude Spectrum in my GUI with some random data. The problem is the frequency mismatch in the x-scale of my axes. When I input a 1 kHz sine wave for example simulink sends an array of two colums wide. The first colomn contains the time and the second th...
Generate rand. data with zero skewness and some kurtosis
inDear 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 ?
looking for .bib in communications/elec engineering
Hi guys, not a real "matlab" question, but this group seems to be the best for random communications/DSP queries -- so here goes mine. I...
Hi guys, not a real "matlab" question, but this group seems to be the best for random communications/DSP queries -- so here goes mine. I am looking for a .bib database that is heavy with references to papers/book in communications (e.g. MIMO, channel estimation etc). Considering that all of us who write papers have to build this kind of a database, it seems sharing will reduce the pai...
?? sample rates more than 100kHz
inhi 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
rice and nakagami distributions
Hello! I have to generate two random sequences of fixed length (k). One with a rice distribution and the other with nakagami distribution( with...
Hello! I have to generate two random sequences of fixed length (k). One with a rice distribution and the other with nakagami distribution( with characteristic parameter m). I've found in literature that a rice distribution can be obtained as the square root of the sum of squares of 2 independent gaussian variate (one with non zero mean). So I suppose I can generate it in Matlab with ,for exampl...
Re: Colored Noise in Matlab
Can anybody elaborate on this.if h(t) is the impulse response of the filter I have to send white Gaussian noise to it,in continuous domain .In...
Can anybody elaborate on this.if h(t) is the impulse response of the filter I have to send white Gaussian noise to it,in continuous domain .In matlab simulation I have to generate a vector of Gaussian random variables using randn and convolve it with the discrete filter coefficents and use each element of the output vector as one time instant value.Is it correct Thank You Rakesh > > >
TRAINING & SIMULATION
Hi All, I am using Matlab to construct a Neural Network. But I am getting some problem on the time of TRAINING & SIMULATION....
Hi All, I am using Matlab to construct a Neural Network. But I am getting some problem on the time of TRAINING & SIMULATION. Problem is like following:- I hve two inputs x,y. Both are random. for i=1:25 x=1+rand(1,i)*9; y=11+rand(1,i)*9; end I have one target say 'z'. 80% of total data I will train the network & 20% data for testing. Wha...
Serial Communication PC 2 PC
inHi, 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
PDF for four Gaussian Distributed numbers multipiled together (a^4)
inDear All, In my work I am using MATLAB function RANDN to generate zero mean and variance 1 random numbers. I know the PDF for this is...
Dear All, In my work I am using MATLAB function RANDN to generate zero mean and variance 1 random numbers. I know the PDF for this is Gaussian which is well defined in literature and I can find loads of information on it. But in my work I happened to get four different Gaussian numbers multiplied together i.e.: a4 = a*a*a*a (where a is a Complex Gaussian number) I am interested in anal
Curve exporting
Hi all, I am working on some data of random points, & than I generate required curves using those data & now I need to export those...
Hi all, I am working on some data of random points, & than I generate required curves using those data & now I need to export those cuvres in the curve format to translate it into CAD modeler. My question is can I export curves in iges, step, dxf or any such similar format. regards, Sohaib.
generation of signal out from the given bit pattern
inHello I have written m-file which gives me a 1023 random bits which i get in Matlab workspace . I want to generate a...
Hello I have written m-file which gives me a 1023 random bits which i get in Matlab workspace . I want to generate a signal out from that (consisting of pulse) , the time between each pulse should be 0.9775 micro second and after that i also want to see that signal in Mat
cross correlation and time delay
inHello all, I am new to MATLAB and even newer to signal processing. I am doing some work on Time delay estimation. I have a few questions which...
Hello all, I am new to MATLAB and even newer to signal processing. I am doing some work on Time delay estimation. I have a few questions which I hope some of you would be able to help me with, As of now I am experimenting with random signals generated by a signal analyser. I have been told that the cross correlation is not feasible when applied to periodic signals ( e.g sine waves). Is t...
Belief Propagation doubt
Hi all, My project involves estimating some random vector 'X=[x1,x2....xn]' using the belief propagation algorithm in Matlab. I have a doubt...
Hi all, My project involves estimating some random vector 'X=[x1,x2....xn]' using the belief propagation algorithm in Matlab. I have a doubt in the initialization part of the algorithm. It states, the initial estimate of each x, x1_hat, x2_hat...xn_hat = mean of Px(x) and var(x_hat) = var of Px(x) where Px(x) is the prior marginal distribution. Now how do I do this in Matlab? If I assume so...
How to make a filter with a frequency response of 1/(a^2+w^2)?
inHi everybody, First I like to appologize because my question is some how stupid, since I am mechanical engineer student and new in signal...
Hi everybody, First I like to appologize because my question is some how stupid, since I am mechanical engineer student and new in signal processing, I need to generate a random signal with a desired PSD, I found that this problem was asked before by Tony and Nandan gave him the answer. What Nandan said was to generate a white signal (uniform PSD) and then pass it through a filter whose f
Need advice on sample rate conversion
I am creating a pseudo WiMAX waveform that can be played as I/Q samples out of an arb. I've completed the framing structure and populated the...
I am creating a pseudo WiMAX waveform that can be played as I/Q samples out of an arb. I've completed the framing structure and populated the carriers with random data. I need some advice on the best way to convert a OFDM signal to the arb's faster sample rate. I have access to the Communications toolbox DSP toolbox RF toolbox I am not familiar with Simulink, so please let's j...
"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
Determining residues, damping and natural frequency from experimental TF
inI am using Matlab 7.0 plus most of the toolboxes. I have some experiemtally obtained transfer funtions of a previous experiement. This...
I am using Matlab 7.0 plus most of the toolboxes. I have some experiemtally obtained transfer funtions of a previous experiement. This experiment imparts a random vibration on one location on a structure and senses acceleration at another location. I would like to extract the modal residues, damping ratios and natural frequencies from these experimental transfer