Magnitude and Phase of a Transfer Function (mag_phase)
Version 2.2.2.0 (197 KB) by
Tamas Kis
Magnitude and phase of a transfer function (i.e. linear system) at a specific point in the frequency domain.
mag_phase
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×1tf,zpk, orss): continuous or discrete-time linear system -
x(1×1complex double): location in frequency domain -
units(chararray):degorrad
Outputs
-
mag(1×1double): magnitude of transfer function ator
-
phase(1×1double): phase of transfer function ator
Examples and Additional Documentation
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
- See "Magnitude_and_Phase_of_a_Linear_System.pdf" (also included with download) for the technical documentation.
Cite As
Tamas Kis (2026). 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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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.
