Magnitude and Phase of a Transfer Function (mag_phase)

Magnitude and phase of a transfer function (i.e. linear system) at a specific point in the frequency domain.
1.1K Downloads
Updated 19 Sep 2023

mag_phase View Magnitude and Phase of a Transfer Function (mag_phase) on File Exchange Open in MATLAB Online

Magnitude and phase of a transfer function (i.e. linear system) at a specific point in the frequency domain.

Syntax

[mag,phase] = mag_phase(sys,x)
[mag,phase] = mag_phase(sys,x,units)

Inputs

  • sys (1×1 tf, zpk, or ss): continuous or discrete-time linear system
  • x (1×1 complex double): location in frequency domain
    • in continuous domain
    • in discrete domain
  • units (char array): deg or rad

Outputs

  • mag (1×1 double): magnitude of transfer function at or
  • phase (1×1 double): phase of transfer function at or

Examples and Additional Documentation

Cite As

Tamas Kis (2024). Magnitude and Phase of a Transfer Function (mag_phase) (https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.2.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.2.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.2.2

2.2.1

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.2.1

2.2.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.2.0

2.1.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.1.0

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.0.2

2.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.0.0

1.0.4

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v1.0.2

1.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v1.0.1

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.