Time-Domain to Magnitude and Phase
无许可证
This s-function captures a sample of two (ideally oscillatory) signals and, using a FFT, computed the amplitude ratio and phase difference between the two signals during a simulation.
This is intended to provide a way to numerically generate nonlinear equivalents of Bode plots for either linear or nonlinear systems. By choosing a frequency of interest (e.g. an input frequency you select), you can compute the amplitude and phase of another signal, like the output of a nonlinear control system, with respect to the input. Bode plots are defined and available only for steady-state linear systems with transfer functions. This function allows you to numerically generate similar plots (after your system reaches dynamic steady state) for linerr or nonlinear systems.
引用格式
Marc Compere (2025). Time-Domain to Magnitude and Phase (https://www.mathworks.com/matlabcentral/fileexchange/3021-time-domain-to-magnitude-and-phase), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Control Systems > Control System Toolbox > Linear Analysis > Time and Frequency Domain Analysis > Frequency-Domain Analysis >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |