Frequency Response Analyzer

Version 1.5 (341 KB) by Pat Gipper
Perform frequency analysis of your Simulink model without linearization
4K Downloads
Updated 9 Jan 2024

View License

Typical bode response analysis of models requires that you linearize around an operating point. Which can be difficult and uncertain especially when the model contains non-linearities. This add-on application allows the dynamic analysis of a model using injection of a sine wave that is swept over any frequency range of interest. This duplicates how devices are tested in labs.
Refer to the help tab to get started using the tool with a simple model.
The link below gives a step by step introduction to using this application.
https://www.arrayofengineers.com/post/measuring-the-bandwidth-a-beginner-s-guide-to-frequency-analysis-for-your-simulink-model

Cite As

Pat Gipper (2024). Frequency Response Analyzer (https://www.mathworks.com/matlabcentral/fileexchange/85448-frequency-response-analyzer), MATLAB Central File Exchange. 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
1.5

Correct error with phase unwrapping when frequency sweeps up.

1.4

Fixed errors caused when blank spaces are included in app and model inputs. This will produce warnings on the Console tab. The App removes the blank spaces and attempts to continue the analysis.

1.3

Repaired problems introduced by Matlab R2021a with plots losing labels and grids. Fixed error when stimulus array (e.g. [ti,ui]) doesn't exist in the user workspace.

1.2

Added improved error checking including examining the model for I/O signals. Added a Console window tab for giving more detailed information and error messages. If licensed, allow the use of Control Toolbox lsim by the analyzer in favor of ode45.

1.1.2

Typo correction in description.

1.1.1

Changed Title, Summary & Description

1.1