sender.h
434 Bytes
#ifndef __SENDER
#define __SENDER
#include <cmath>
#include "variables.h"
class Csender {
public:
Csender() {};
int data[Nbits];
float s[Nbits / Nbitspersymbol * Nsamplespersymbol]; // trasmitted signal
void transmitData();
float At[Nbits / Nbitspersymbol], Bt[Nbits / Nbitspersymbol];
float c0[Nsamplespersymbol], c1[Nsamplespersymbol], sender[1];
float A = 10.;
float Temp[20];
double T = 20. / 1., dt = 1. / 1.;
};
#endif