Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
ca8d9017
Commit
ca8d9017
authored
Nov 19, 2013
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4440
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
4f528b38
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
targets/PROJECTS/TDDREC/runmeas_full_duplex.m
targets/PROJECTS/TDDREC/runmeas_full_duplex.m
+9
-3
targets/PROJECTS/TDDREC/runmeas_long_chanest.m
targets/PROJECTS/TDDREC/runmeas_long_chanest.m
+3
-3
No files found.
targets/PROJECTS/TDDREC/runmeas_full_duplex.m
View file @
ca8d9017
...
...
@@ -65,6 +65,12 @@ if(paramsinitialized)
Da2b_R
=
zeros
(
Niter
*
120
,
Nantb
*
301
,
Nmeas
);
Db2a_R
=
zeros
(
Niter
*
120
,
Nanta
*
301
,
Nmeas
);
chanestsA2B
=
zeros
(
301
,
Nantb
,
Nmeas
);
tchanestsA2B
=
zeros
(
512
,
Nantb
,
Nmeas
);
fchanestsA2B
=
zeros
(
512
,
Nantb
,
Nmeas
);
chanestsB2A
=
zeros
(
301
,
Nantb
,
Nmeas
);
tchanestsB2A
=
zeros
(
512
,
Nantb
,
Nmeas
);
fchanestsB2A
=
zeros
(
512
,
Nantb
,
Nmeas
);
for
meas
=
1
:
Nmeas
%% ------- Node A to B transmission ------- %%
...
...
@@ -115,9 +121,9 @@ if(paramsinitialized)
end
HB2A
=
conj
(
repmat
(
Db2a_T
,
Niter
,
1
))
.*
repmat
(
Db2a_R
(:,:,
meas
),
1
,
Nantb
);
phasesB2A
=
unwrap
(
angle
(
HB2A
));
#
if
(
mean
(
var
(
phasesB2A
))
>
0.5
)
#
disp
(
'The phases of your estimates from B to A are a bit high (larger than 0.5 rad.), something is wrong.'
);
#
end
%
if(mean(var(phasesB2A))>0.5)
%
disp('The phases of your estimates from B to A are a bit high (larger than 0.5 rad.), something is wrong.');
%
end
if
(
chanest_full
)
chanestsB2A
(:,:,
meas
)
=
zeros
(
301
,
Nantb
);
...
...
targets/PROJECTS/TDDREC/runmeas_long_chanest.m
View file @
ca8d9017
...
...
@@ -120,9 +120,9 @@ if(paramsinitialized)
%% ------- Do the B to A channel estimation ------- %%
HB2A
=
conj
(
Db2a_T
.*
repmat
(
Db2a_R
,
1
,
Nantb
));
phasesB2A
=
unwrap
(
angle
(
HB2A
));
#
if
(
mean
(
var
(
phasesB2A
))
>
0.5
)
#
disp
(
'The phases of your estimates from B to A are a bit high (larger than 0.5 rad.), something is wrong.'
);
#
end
%
if(mean(var(phasesB2A))>0.5)
%
disp('The phases of your estimates from B to A are a bit high (larger than 0.5 rad.), something is wrong.');
%
end
if
(
chanest_full
)
chanestsB2A
=
zeros
(
301
,
Nantb
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment