Frequenzgangfunktion

class +AMrotorSIM.+Graphs.@Frequenzgangfunktion.Frequenzgangfunktion(experimentFRF)

Bases: handle

Class for visualization of the frequency response functions (FRF)

See also AMrotorSIM.Experiments.Frequenzgangfunktion

Frequenzgangfunktion(experimentFRF)

Constructor

Parameters

experimentFRF (object) – Object of type Experiments.Frequenzgangfunktion

Returns

Object for visualization of FRF’s

set_plots(Selection, varargin)

Additional setting on the FRF output

Parameters
  • Selection (char) – Additional parameters like ‘nyquist’, ‘Bode’, ‘Amplitude’, ‘Phase’, … (check function)

  • varargin (char) – Variable input argument (check function)

Returns

Figures of the FRF’s

set_color_number()

(private) Assigns colors to all eigenvalues

Returns

Assigned color to eigenvalues

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.plot_amplitude(obj, f, frf, paramPlot)

Plots the amplitude of the FRF

Parameters
  • f (vector) – Frequency

  • frf (vector) – Frequency response function

  • paramPlot (struct) – Additional parameters for visualization (type of amplitude, ..)

Returns

Figure with amplitude of FRF

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.plot_bode(obj, f, frf, paramPlot)

Plots the bode diagram of the FRF

Parameters
  • f (vector) – Frequency

  • frf (vector) – Frequency response function

  • paramPlot (struct) – Additional parameters for visualization (type of amplitude, ..)

Returns

Figure with bode plot

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.plot_coherence(obj, f, C)

Plots the coherence of the FRF

Parameters
  • f (vector) – Frequency

  • C (matrix) – Coherence

Returns

Figure with coherence

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.plot_nyquist(obj, f, frf, paramPlot)

Plots the nyquist diagram of the FRF

Parameters
  • f (vector) – Frequency

  • frf (vector) – Frequency response function

  • paramPlot (struct) – Additional parameters for visualization (type of amplitude, ..)

Returns

Figure with nyquist diagram

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.plot_phase(obj, f, frf, paramPlot)

Plots the phase of the FRF

Parameters
  • f (vector) – Frequency

  • frf (vector) – Frequency response function

  • paramPlot (struct) – Additional parameters for visualization (type of amplitude, ..)

Returns

Figure with phase of the FRF

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.get_coherence_selection(obj, userInputCell)

Checks if coherence is in the argument of the main function

Parameters

userInputCell (cell) – Cell that gets checked if coherence is desired (‘coh’)

Returns

Flag if coherence is desired or not

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.make_amplitude_label(obj, type, unit, amplitudeMeasure)

Assembles the label for the amplitude of the FRF

Parameters
  • type (char) – Type of the FRF (‘d’ for displacement,….)

  • unit (char) – Unit of the FRF

  • amplitudeMeasure (char) – Representation type (default=’lin’)

Returns

Labels for the amplitude plot

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.make_figure_title(obj)

Provides the title of the analysis as figure title

Returns

Figure title

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.make_imag_label(obj, type, unit)

Assembles the label for the imaginary part of the FRF

Parameters
  • type (char) – Type of the FRF (‘d’ for displacement,….)

  • unit (char) – Unit of the FRF

Returns

Labels for the imaginary part plot

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.make_phase_label(obj, type, angleMeasure)

Assembles the label for the phase of the FRF

Parameters
  • type (char) – Type of the FRF (‘d’ for displacement,….)

  • unit (char) – Unit of the FRF

Returns

Labels for the phase plot

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.make_real_label(obj, type, unit)

Assembles the label for the real part of the FRF

Parameters
  • type (char) – Type of the FRF (‘d’ for displacement,….)

  • unit (char) – Unit of the FRF

Returns

Labels for the real part plot

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.set_amplitude_measure(obj, userInputCell)

Extracts the desired amplitude representation from the argument of the main function

Parameters

userInputCell (cell) – Cell that gets checked which representation type (‘lin’ (default),’log’ or ‘dB’) is wanted

Returns

Amplitude representation type as char

+AMrotorSIM.+Graphs.@Frequenzgangfunktion.private.set_angle_measure(obj, userInputCell)

Extracts the desired angle representation from the argument of the main function

Parameters

userInputCell (cell) – Cell that gets checked which representation type (‘rad’ (default) or ‘deg’) is wanted

Returns

Angle representation type as char