Magnitude and Phase of a Transfer Function (mag_phase)
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)
Description
[mag,phase] = mag_phase(sys,x)
returns the magnitude, mag
, and phase, phase
, of the linear system, sys
, at a desired location x
in the frequency domain. If sys
represents a continuous-time transfer function , then
x
corresponds to a point . If
sys
represents a discrete-time transfer function , then
x
corresponds to a point . By default, the phase is returned in units of degrees.
[mag,phase] = mag_phase(sys,x,units)
does the same as the syntax above, but returns the phase in degrees if units
is specified as 'deg'
, and in radians if units
is specified as 'rad'
.
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 (2023). Magnitude and Phase of a Transfer Function (mag_phase) (https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.2.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
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.0.2 | See release notes for this release on GitHub: https://github.com/tamaskis/mag_phase-MATLAB/releases/tag/v2.0.2 |
||
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.0 |