Function getDefaultFrequencyRange

  • Calculates an array of frequencies for a given set of poles and zeros. The range of frequencies is determined by the minimum and maximum magnitude of the features and a range factor. The number of samples determines the resolution of the frequency range.

    Returns

    An array of frequencies in radians/second.

    Parameters

    • poles: Complex[]

      An array of complex poles of the system

    • zeros: Complex[]

      An array of complex zeros of the system

    • Optional rangeFactor: number

      The range factor determines the number of decades covered by the frequency range. Increasing the range factor leads to a wider range of frequencies.

    • Optional numOfSamples: number

      The number of samples determines the resolution of the frequency range. Increasing the number of samples leads to a higher resolution but also increases the computation time.

    Returns number[]

Generated using TypeDoc