Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
895c6736
Commit
895c6736
authored
Mar 12, 2014
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5154
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
b3afd8b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
targets/PROJECTS/CORRIDOR/generation_ca.m
targets/PROJECTS/CORRIDOR/generation_ca.m
+4
-4
targets/PROJECTS/CORRIDOR/tx_sig_ca.m
targets/PROJECTS/CORRIDOR/tx_sig_ca.m
+5
-3
No files found.
targets/PROJECTS/CORRIDOR/generation_ca.m
View file @
895c6736
%% this script generates the signals for the CORRIDOR channel sounding campaing
%% this script generates the signals for the CORRIDOR channel sounding campaing
%
addpath('../../../openair1/SIMULATION/LTE_PHY/')
addpath
(
'../../../openair1/SIMULATION/LTE_PHY/'
)
%addpath('../../../openair1/PHY/LTE_ESTIMATION/')
%addpath('../../../openair1/PHY/LTE_ESTIMATION/')
%
addpath('../../../openair1/PHY/LTE_REFSIG/')
addpath
(
'../../../openair1/PHY/LTE_REFSIG/'
)
%addpath('../../../targets/ARCH/EXMIMO/USERSPACE/OCTAVE')
%addpath('../../../targets/ARCH/EXMIMO/USERSPACE/OCTAVE')
r
ng
(
42
);
%make sure seed random numbers are alwyas the same
r
and
(
'seed'
,
42
);
%make sure seed random numbers are alwyas the same
% load the LTE sync sequence
% load the LTE sync sequence
primary_synch
;
primary_synch
;
...
@@ -84,5 +84,5 @@ hold off
...
@@ -84,5 +84,5 @@ hold off
plot
(
linspace
(
-
sample_rate
/
2
,
sample_rate
/
2
,
length
(
s
)),
20
*
log10
(
abs
(
fftshift
(
fft
(
s
,[],
2
)))))
plot
(
linspace
(
-
sample_rate
/
2
,
sample_rate
/
2
,
length
(
s
)),
20
*
log10
(
abs
(
fftshift
(
fft
(
s
,[],
2
)))))
%% save for later use (channel estimation and transmission with the SMBV)
%% save for later use (channel estimation and transmission with the SMBV)
save
(
'ofdm_pilots_sync_30MHz.mat'
,
'-v7'
,
's'
,
'f1'
,
'f2'
,
'f3'
,
'num_carriers'
,
'num_zeros'
,
'prefix_length'
,
'num_symbols_frame'
,
'preamble_length'
);
save
(
'ofdm_pilots_sync_30MHz.mat'
,
'-v7'
,
's
1'
,
's2'
,
's3
'
,
'f1'
,
'f2'
,
'f3'
,
'num_carriers'
,
'num_zeros'
,
'prefix_length'
,
'num_symbols_frame'
,
'preamble_length'
);
mat2wv
(
s
(
1
,:),
'ofdm_pilots_sync_30MHz.wv'
,
sample_rate
,
1
);
mat2wv
(
s
(
1
,:),
'ofdm_pilots_sync_30MHz.wv'
,
sample_rate
,
1
);
targets/PROJECTS/CORRIDOR/tx_sig_ca.m
View file @
895c6736
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
% card4 - card5: 10MHz, 2 channels each, s2, freq 2605 MHz
% card4 - card5: 10MHz, 2 channels each, s2, freq 2605 MHz
% card6: 5MHz, 4 channels, s3, freq 771.5 MHz
% card6: 5MHz, 4 channels, s3, freq 771.5 MHz
%load('ofdm_pilots_sync_30MHz.mat');
addpath
(
'../../../targets/ARCH/EXMIMO/USERSPACE/OCTAVE'
)
addpath
(
'../../../targets/ARCH/EXMIMO/USERSPACE/OCTAVE'
)
limeparms
;
limeparms
;
...
@@ -86,9 +88,9 @@ for card=6:min(6,num_cards-1)
...
@@ -86,9 +88,9 @@ for card=6:min(6,num_cards-1)
end
end
amp
=
pow2
(
14
)
-
1
;
amp
=
pow2
(
14
)
-
1
;
s1p
=
2
*
floor
(
amp
*
(
s1
.
/
max
([
real
(
s1
)
imag
(
s1
)])));
s1p
=
2
*
floor
(
amp
*
(
s1
.
/
max
([
real
(
s1
(:));
imag
(
s1
(:)
)])));
s2p
=
2
*
floor
(
amp
*
(
s2
.
/
max
([
real
(
s2
)
imag
(
s2
)])));
s2p
=
2
*
floor
(
amp
*
(
s2
.
/
max
([
real
(
s2
(:));
imag
(
s2
(:)
)])));
s3p
=
2
*
floor
(
amp
*
(
s3
.
/
max
([
real
(
s3
)
imag
(
s3
)])));
s3p
=
2
*
floor
(
amp
*
(
s3
.
/
max
([
real
(
s3
(:));
imag
(
s3
(:)
)])));
for
card
=
min
(
6
,
num_cards
-
1
):
-
1
:
6
for
card
=
min
(
6
,
num_cards
-
1
):
-
1
:
6
oarf_send_frame
(
card
,
s3p
.'
,
16
);
oarf_send_frame
(
card
,
s3p
.'
,
16
);
...
...
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