Interactive Efficient Frontier Viewer

Efficient Frontier Viewer using nested functions

You are now following this Submission

Demonstrates the use of MATLAB's nested functions to create graphical tools with little coding. This example creates an efficient frontier from supplied data (or generates random returns if no inputs are supplied) and then allows the user to move a crosshair along the efficient frontier to view the weights for the selected portfolio.

This example is similar in functionality to "Efficient Frontier GUI" but the code is less intimidating for new users. It invokes the "portopt" function from MATLAB's Financial Toolbox to create the efficient frontier.

Cite As

Paul Taylor (2026). Interactive Efficient Frontier Viewer (https://in.mathworks.com/matlabcentral/fileexchange/10949-interactive-efficient-frontier-viewer), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Efficient Frontier GUI

Categories

Find more on Portfolio Optimization and Asset Allocation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Improved description of application.