public final class ModulationFsk extends DigitalModulation
Constructor and Description |
---|
ModulationFsk()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
computeBitErrorRate(double bitEnergyPerNoiseDensity)
A method to decode the digital signal and produce the probability that any given bit will be incorrect.
|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
int |
getBitsPerSymbol()
Gets the number of bits per symbol.
|
double |
getSpectralEfficiency()
Gets the spectral efficiency representing the number of bits that can be represented per unit bandwidth, in bps/Hz.
|
double |
getSymbolRate(double dataRate)
Gets the rate at which symbols are transmitted, based on the rate of bits.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
computeBitErrorRate
public double computeBitErrorRate(double bitEnergyPerNoiseDensity)
computeBitErrorRate
in class DigitalModulation
bitEnergyPerNoiseDensity
- The bit energy per noise density ratio (Eb/No).public double getSpectralEfficiency()
This specifies the bandwidth needed to represent a certain SignalDataRate
successfully.
The half-bandwidth (or base-band bandwidth) of the corresponding signal is the data rate divided by the spectral efficiency.
getSpectralEfficiency
in class DigitalModulation
public final int getBitsPerSymbol()
public final double getSymbolRate(double dataRate)
dataRate
- The data rate in bits per second.public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to this instance.true
if obj
is an instance of this type and represents the same value as this instance; otherwise false
.Object.hashCode()
,
HashMap
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)