Search Engine www.edaboard.com

# Correlation Matlab

68 Threads found on edaboard.com: Correlation Matlab

## ECC of MIMO antenna calculation in Matlab

The rigorous definition of ECC involves a correlation of vector patterns of your antenna. The equation I think you are using in matlab is an approximation. That approximation is particularly bad for low efficiency antennas. I most suspect this is what is causing the discrepancy.

## Code for Gender Recognition using Auto-Correlation No Longer Working in Matlab 2015

The "Code for Gender Recognition using Auto-correlation in matlab" was fantastic and worked perfectly for my older version of matlab. But once I updated to matlab 2015b, the code no longer worked. Does anyone have a version of this code that works with matlab 2015b?

## Code for Gender Recognition using Auto-Correlation in Matlab

References Previous Thread: This is another code that I have written for gender recognition in matlab. I have attached the files. 59385. Can you elaborate the autocorrelation part? What the logic?

## How to take correlation coefficient of path loss values? in dB or in linear form

Is it needed to convert a set of path loss values in dB to linear units like watts before they are correlated to each others in matlab. For example the following gives different results: x=rand(1,200); y=rand(1,200); xx=corr2(x,y) yy=corr2((10.^(x./10)),(10.^(y./10))) % From dB to linear and then correlated Thanks imti

## distance correlation algorithm

hi every body i need distance correlation algorithm to compute distance correlation between any two vectors or if any one has matlab code for distance correlation algorithm thanks in advance

## compare two audio signal with different frequency samplling with matlab

ok, but the question was not yet properly answered : What do you want compare ? ( Magnitude, bandwidth, correlation, etc... ) +++

## Cross-Correlation between signal and the delay version

hiii Sorry once again .... I could not found function 'modnorm' and 'qammod' in the function func_ofdm_generate....... Please post your complete code then only one can run this and give you some feedback..... Sorry for that I went to mathworks site I think these are the function from "Communications System Toolbox" ...... I don't have th

## Cross-correlation function problem

Hello everyone, I have a following problem: given cross-correlation function {C_{12}}{\left(\tau\right)} associated with a pair of time functions {f}_{1}(t) and {f}_{2}(t): {C_{12}}{\left(\tau\right)}={3 cos}^{2 }{\sigma}{t sin}{\sigma} {t} if {f}_{1}(t) =\frac{ 1}{2 }+\frac{1}{4}cos {\s

## How to set parameters to find Correlation Gain in Matlab

i am trying to find Target Range and correlation Gain using Sinusoidal FM signal mixed with Random Noise. fm=1e3; B=180kHz fs=360kHz; Brn=2*fm; Ntap=1000; xsfm=exp(j*beta*sin(2*pi*fm)); xxrn=randn(1,Nfft+2*Ntap)+j*randn(1,Nfft+2*Ntap); ht=fir1(Ntap,Brn/fs); nxrn1=filter(ht,1,xxrn); xrn=nxrn1(Ntap+1+(1:Nfft)); xrn=xrn/std(xr

## Corelation problem in matlab.

Dear all, I am was not convinced or may be could not understand the correlation in matlab i.e. xcorr function. So to test I simple made two exactly similar sine wave without any delay, and it gives me delay of 21. I cannot understand why. please first see the code below fo=200; fs=2500; t=0:1/fs:.008; x=sin(2*pi*fo*t); y=x; %n

## Comparing 2 EEG signals in Matlab

You will need an auto correlation filter in both directions, ignoring amplitude and phase. This can "manually" be done with an FFT and a shape comparison in the frequency domain, which is most appropriate for hardware implementation.

## Generalized Partial Response Equalizer Matlab Implementation

I need to implement following expressions for the GRPE in matlab lembda = inv(E*inv((A-T'*inv(R)*T))*E) *c; g = inv(A-T'*inv(R)*T)*E*lembda f = inv(R)*T*g where R:autocorrelation of channel output T:cross correlation of channel out put and input data A:autocorrelation of input data i only have access to (...)

## Comparing two signals using correlation in matlab

How to compare two signals using correlation in matlab. i know the function is xcorr. But xcorr returns an array of coefficients. What I want to learn is the next step in comparing them. I have no idea of how to compare them.

## Matlab cross correlation code

i want cross corelation matlab code for m-seq.:- x=; y=; and for gold codes:- x=; y=; regrdes

## How to generate a wide band signal with given auto correlation

Hello all, How to generate a wide band signal with given auto correlation in matlab/C/C++ from white Gaussian noise? Regards, Mayavi

## Need help about Canonical Correlation

Hi guys. I'm working on Voice Conversation project. Briefly, I have two trained data belongs two different people. With a Codec I'm trying to analyise trained data. Now,I've trouble with this problem. i.e X= is person K, and Y= is person L. X and Y are 2D matrices. With the canoncorr function of matlab I want to a relation between two matri

## correlation between tow image

dear all i ask about how i can do correlation between two image for same object using matlab depend on code not existed function because after understanding this point i will implement it on FPGA wait your reply thanks

## Need help in delay estimation for gps using matlab

Plz help me. I used correlation based method to estimate delay for GPS signal but it doesn't show correct result. I think it is because of multipath effect.

## time delay between two signals coming from same source

Being a fresher for DSP. Take this piece of advice. You type xcorr in matlab you ll know as how to code it, rather if you type "correlation" in wiki , you ll understand what correlation exactly is. With some effort it is possible to know it by your own. Learn a few stuffs , try something and let us know your difficulty we ll help for sure.

## correlation of stablility in sistool bode plot and simulink model

Hi I wanted to know whether the voltage mode controller designed simple boost converter using its small signal model (in sisotool matlab) should work in the simulink model of boost converter( which is differential equation model) for all ranges shown stable in the open loop bode plot of compensated system.

## autocorrelation & crosscorrelation of image in matlab

hi, i want to find the auto correlation & cross correlation in horizontal ,vertical & in diagonal direction of the output image obtain after doing the quantization of image*(*this image is obtain after taking the FFT of image & then finding the magnitude of that image)in to four level(quantization is done by dividing the minimum to maximum range in

## Cross-correlation in matlab without using the inbuilt function?

can someone tell how to do the cross-correlation of two speech signals(each of 40,000 samples) in the matlab without using the inbuilt function Xcorr and how do I find correlation coefficient? Please be tolerant.Thanks in advance.

## [Moved] Code for Gender Recognition using Auto-Correlation in Matlab

Great code, you know your way around matlab. It doesn't work on my machine though. It says "could not recognize. Try speaking slowly." But I think its my mic because the time-domain plot reveals a large transient at the beginning of each recording. I am going to keep looking through it when I get more time, because I also want to find out how autoc

## Correlation help in matlab and general doubt in correlation.

I have a doubt. If i have two sequences, sin(x) and cos(x) and if i compute the crosscorrelation using matlab, shouldn't the answer be zero? I'm not getting it as zero. I have no problem with cos(x) and cos(2x). Also, one more doubt. Autocorrelation function is maximum at 0. Why is the peak always in the middle, in the (...)

## MATLAB and webcam interface

download this source code Sagar's Lab: Object tracking using corss correlation ---------- Post added at 20:18 ---------- Previous post was at 20:16 ---------- use matlab image and video acquisition tool box. study t

## MATLAB Video tracking

correlation is an extremely simple task.Have you sorted out the camera and matlab interface? I don't know about the kalman filtering part. I used sum of absolute differences to track motion. First you'll have to acquire the image, identify the object using autocorrelation then, convert it into a logical image, then find centroid, then do (...)

## matlab bode plotting of fft result

Hy, my problem is: using matlab, how can i plot in a bode diagram the result of a fft? I have defined a function take after many elaborations bring out two vectors and than make the cross-correlation. Than i make the fft of the cross-correlation obtaining complex conjuncted numbers, i need to have the bode plotting of the fft results. (...)

## Corelation betwen Images - Looking for algorithm

Here, a code wrote in matlab language : Be aware that pattern matching based in correlation algorithm, is scale invariant. Check if there no are restrictions in your target application to this constraint. +++

## correleation coefficent for 2 row vectors in matrix

Hi, all In my mini project ,in the part of matlab code i have to find the correlation coefficent of 2 row vectors.I have used that " corrcoef " instruction ,which is giving 2*2 matrics .Actually i need to compare 2 correlation coefficients and need to which is bigger one.Can we take

## ecg signal processing regarding

i've added noise to ecg signal taking specified level of snr as input assuming original signal is clean and obtained snr after denoising using cross correlation now I have to determine the snr of original data are there any algorithms to compute snr when data alone is given? any help algorithm or matlab code for this calculation is appreciated

## View as peak in Matlab

Good evening, With the aim of achieving a correlation, I need to create two images of size 256 * 256, which contains a letter F and serve as a target, while the other has two letters E and F showing the scene . I'm stuck in, how to center the letter F in the middle of the image, and how, after correlation, display the result in peak shape.

## Correlation_in_MATLAB

Hi there, Has any one got information about how to carry out correlation in matlab using for loops ?

## matlab code for correation

hi every1... m new for matlab n i need code so can any one pls help me write correlation code in matlab..

## Ask : Regarding Autocorrelation and Cross-correlation matrix in LMMSE Channel Estimat

Currently I want to make a matlab simulation of LMMSE channel estimation method in OFDM systems. In LMMSE method (Wiener Filtering) to find the channel estimation we have to find coefficient : c=(Rxx^-1)*Rxy where Rxx is autocorrelation matrix and Rxy is cross-correlation matrix. What I want to ask is how to find these Rxx and

## switch case in MATLAB

need more details, how do you compare, by correlation algorithm with scalar result or vector result or someother method

## How to do correlation between signals in Matlab?

Use the cross correlation command in matlab i-e xcorr(y,z). The peak will indicate the presence of signal of interest in that signal.

## Rayleigh fading Simulation using Matlab

rake would be too complex. besides it would require transmitting of some additional good auto-correlation sequence in the beginning of the transmitted signals to enable the fingers to work. My suggestion is this, y = h*a + n (* for conv) pr y = h x a + n i.e. a = y/h + n/h where a is the recovered info

## Problem in correlation template

Hello dears, I want to match a test image with the template image in matlab, For this task i am using normxcorr2 function for correlation, this function returns an array of correlation between template and test image. This function works fine when template image is a part or sub image of test image. But this function dose not give me (...)

## cross correlation in matlab - problem

Hello I m trying to estimate time delay between signals using cross correlations. Unfortunately I ve encountered a few problems I m unable to handle. Here is code what I ve done. According to article I ve read it is supposed to be working. I m expecting at the last figure, one peak which should indicate a delay between signals x1, and xr, but

## Corrrelation to extract harmonics from a signal!

Hi I need to extract the 2nd harmonic from a waveform. I think I need to use correlation but I have no idea where to start. Can anyone provide some matlab help. The experiment is to fire a chirp signal at a bubble and measure the response from the bubble to see if it resonates. I have a hydrophone to collect the received data. I've got the da

## asking for source code in matlab

i am doing a project on image wwater markin usin threshod based correlation. since i am a beginner in this field ineed help.. i need source code for visible water marking .please help.

## blind equalizer based on kernel

Hi, I'm doing my final year project about blind equalizer based on kernel methods(I'm beginner with matlab).I have implement this code based on this research "Generalized correlation Function: Definition,Properties, and Application to Blind equalization".you can find it online i dont know exactly how to implement gaussian kernel and the

## matlab code of MMSE equalization in ofdm

this is my mmse code,could some how help me?it doesn't work. i have my pdp and its length is L. SNR = 1/(noiseVar); beta=1; power_delay_profile=; power_delay_profile=fft(power_delay_profile); power_delay_profile=diag(power_delay_profile(carriers)); % Calculate frequency correlation matrix R_hh

## Autocorrelation & codes

I generate random data sequence and represent it in different codes. NRZ, RZ , Manchester, and Miller now I want to get their spectrum. I think I have to find the auto correlation then the inverse Fourier transform. I wonder How to do that. If there is a method to use these matlab codes in the simulink?

## Noise Power of a 3rd Order digital modulator

Hi, I've done the correlation of the noise power of a 3rd order modulator. Its block diagram is shown below. I've two results to be compared: 1. Using closed-form formula and do integration. 2. Using verilog-HDL model and post process data in matlab to obtain the noise power. The results are respectively 0.47 and 0.5037. I would l

## Pattern Recognition(Matlab)

Hi, Template is the pattern you want to find in the image. For example if you are looking for circles in an image, a smaller image containing only a circle is the template. Once you calculate the cross-correlation between a template T and an image I, you obtain an image X. The location of the pixel with the highest value in X will give you t

## Perform run and correlation property on matlab..

Please help guys.. i need to perform the run and correlation property on a stream of bits that has been pseudorandomly generated. I have used the following piece of code: e.g x= randn(10,1)>0.5 to generate random bits of 0's and 1's. Is this the correct way of doing it or do i need to pass through the linear feedback shift register method to ge

## how to simulate MIMO channel in matlab

Hi all, Ive got a question, how to implement the MIMO channel if I have a TDL (CIR of the multipath channel) and i have correlation matrices of terminal and BS. So the spatial correlation matrix is kron(R_bs, R_term). So I have the output signals from both or more antennas, i have the multipath channel impulse response and the spatial (...)