Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anyone can tell me the code,thanks #20

Open
hustpigeon opened this issue Dec 15, 2017 · 0 comments
Open

anyone can tell me the code,thanks #20

hustpigeon opened this issue Dec 15, 2017 · 0 comments

Comments

@hustpigeon
Copy link

actual_time_offset=m*.005*k_factor; // i don't know what is this means ????????

for (uint8 t=0;t<3;t++) {
for (uint16 idx=0;idx<9600;idx++) {
xc_incoherent_single[t][idx][foi]=0;
}
for (uint16 m=0;m<n_comb_xc;m++) {
// Because of the large supported frequency offsets and the large
// amount of time represented by the capture buffer, the length
// in samples, of a frame varies by the frequency offset.
//double actual_time_offset=m*.005k_factor;
**//double actual_start_index=itpp::round_i(actual_time_offset
FS_LTE/16);
double actual_start_index=itpp::round_i(m*.005k_factorfs_programmed);**
for (uint16 idx=0;idx<9600;idx++) {
xc_incoherent_single[t][idx][foi]+=sqr(xc[t][idx+actual_start_index][foi]);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant