|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpzapplet.FreqResponse
Represents a frequency response of a system. The data is kept as arrays of data points. Once created, the system cannot be altered.
| Constructor Summary | |
FreqResponse(ORG.netlib.math.complex.Complex[] zeros,
ORG.netlib.math.complex.Complex[] poles)
This creates a FreqResponse of discrete data points over a range of frequencies, given the poles and zeros passed to this. |
|
FreqResponse(double[] mags,
double[] phases,
int low,
int high)
This creates a FreqResponse with the specified magnitudes and phases at each frequency ranging from 10^(low) to 10^(high). |
|
| Method Summary | |
double[] |
getFreqs()
Returns a double[] of each frequency value iteration |
int |
getHigh()
|
int |
getLow()
|
double[] |
getMags()
|
double[] |
getPhases()
|
int |
getRes()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FreqResponse(ORG.netlib.math.complex.Complex[] zeros,
ORG.netlib.math.complex.Complex[] poles)
zeros - - Array of Complex objects representing zeros of a systempoles - - Array of Complex objects representing poles of a system
public FreqResponse(double[] mags,
double[] phases,
int low,
int high)
mags - - Array of doubles representing magnitude valuesphases - - Array of doubles representing phase valueslow - - int representing the lowest frequency (power of 10)high - - int representing the highest frequency (power of 10)| Method Detail |
public double[] getFreqs()
public double[] getMags()
public double[] getPhases()
public int getHigh()
public int getLow()
public int getRes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||