urgent help matlab auto correlation and cross correlation

Status
Not open for further replies.

tomshack

Junior Member level 3
Joined
Mar 4, 2006
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,474
hi all i need matlab auto correlation and cross correlation function codes ;can anybody help me please ?
 

i need the code not the function
 

search mat lab help file
 

Re: urgent help matlab auto correlation and cross correlati

tomshack said:
i need the code not the function

At the Matlab prompt type : " > type xcorr" you will have what you want.
 

i should write code my self i cant use xcorr ,my instructor dont let me use xcorr function
 

lemme tell u a trick!! but it need a lot of effort but lesser than coding u r self..!!
here u go..

> edit xcorr

you can see the source code od xcorr

decode the source code..take only wat u want ... i mean ignore all the type check and error control stuf... just take the core part of the function.


paste it to a new file ... myxcorr.m

and change all the variable name and make it look diffrent... and u r done!

best of luck!!
this technique worked for me!! and it will work for u too
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…