image thumbnail

Magnitude and Phase of a Transfer Function (mag_phase)

version 2.0.0 (189 KB) by Tamas Kis
Magnitude and phase of a transfer function (i.e. linear system) at a specific point in the frequency domain.

10 Downloads

Updated 29 Aug 2021

From GitHub

View license on GitHub

mag_phase View Magnitude and Phase of a Transfer Function (mag_phase) on File Exchange

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

Cite As

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

MATLAB Release Compatibility
Created with R2021a
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!
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.