Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2019-1-software-lab-1
/
0509_team3
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박준혁
2019-05-12 22:46:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6dd5d3d2890667154e1ea7c1f175d2d99de3afa9
6dd5d3d2
1 parent
952f01b8
change receiver
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
constellation/constellation/receiver.cpp
constellation/constellation/receiver.cpp
0 → 100644
View file @
6dd5d3d
#include"receiver.h"
#include<cstdlib>
using
namespace
std
;
void
Creceiver
::
demodulate
()
{
int
num
=
0
;
for
(
int
i
=
0
;
i
<
500
;
i
++
)
{
for
(
int
k
=
0
;
k
<
20
;
k
++
)
{
Temp
[
k
]
=
r
[
i
*
20
+
k
]
;
num
++
;
}
matrixmult
(
1
,
20
,
1
,
Temp
,
c0
,
receiver
);
At_
[
i
]
=
receiver
[
0
];
matrixmult
(
1
,
20
,
1
,
Temp
,
c1
,
receiver
);
Bt_
[
i
]
=
receiver
[
0
]
;
}
}
\ No newline at end of file
Please
register
or
login
to post a comment