Compute Phase Shift between two sampled sine waves using C code

Provide C code usable on an embedded linux system to compute the phase

shift between two simultaneously sampled sine wave signals. Signals will be of different magnitudes and offsets. Samples will be of a window in real time that will include one or more periods of the sine waves. Number of samples may vary.

We are expecting an implementation of this function:

float phaseDiff(int *x, int *y, int numsamples);

The inputs x and y are integer arrays of values in millivolts. The return value is

the phase difference (either radians or degrees).

We are currently using the following matlab code to do this:

[url removed, login to view]

Skills: Mathematics, Matlab and Mathematica

See more: matlab embedded system, mathworks, integer real number, integer and real number, difference between integer and real number, embedded+linux, embedded linux, c++ code, c code, matlab example, matlab phase system, function matlab, mathematica code, code samples, Matlab function, function compute, matlab com, unzip file using vb6 code, com matlab, design filter using matlab code example, implement logic circuit using cnet code, count day using licence code cnet, export data database excelcsv using cfm code, save attaced files using php code, ole object access using vb6 code

About the Employer:
( 9 reviews ) Wilmington, United States

Project ID: #7248298

Awarded to:


A proposal has not yet been provided

$64 USD in 3 days
(62 Reviews)

5 freelancers are bidding on average $123 for this job


A proposal has not yet been provided

$333 USD in 3 days
(36 Reviews)

Dear Sir/Madam In order to calculate the phase shift, it is required to perform Fourier transformation on the signals. Therefore, an FFT library must be used. Usually, FFTW is used ([login to view URL]), unless some More

$55 USD in 3 days
(5 Reviews)

I have command on C and Matlab, i am sure i can help you in this regard.....................................................................

$50 USD in 3 days
(6 Reviews)

hello. I saw your description and ur link. I understand it and can do it . I have done several project like this. I'm an expert in Mathematics,Data Structures and Algorithms. And I know Matlab, C/C++ and Java well More

$60 USD in 1 day
(4 Reviews)

A proposal has not yet been provided

$111 USD in 1 day
(0 Reviews)