• This project
    • Loading...
  • Sign in

2019-1-software-lab-1 / 0509_team3

%ea%b7%b8%eb%a6%bc1
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
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 0509_team3
  • constellation2 최종
  • constellation
  • constellation
  • receiver.cpp
  • 홍주원's avatar
    최종파일 · 6779bbb6
    6779bbb6
    홍주원 authored 2019-05-12 20:55:55 +0900
receiver.cpp 367 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#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] ;
		
	}

	


}