File Exchange

image thumbnail

Phase Portrait Plotter

version 1.14 (275 KB) by Mohit Kumar
Plot the phase portrait for the entered system of differential equations

67 Downloads

Updated 19 Dec 2020

View Version History

View License

Install the app into MATLAB and use. Requires basic knowledge of dynamical systems to use and interpret results.

Link to documentation: https://drive.google.com/drive/folders/1152DOOwuD15LD_EzwgH3XpRv08BDNzFc?usp=sharing
Chapter 2 provides a quick overview of the theoretical background.
Chapter 3 contains the user guide and description of features.
Chapter 4 provides some real life examples and phase portraits generated using the app.

The app works with limited functionality for versions preceding R2020b. For versions prior to R2020b, mouse click interactions with the plots (adding trajectories and guessing solutions) DO NOT WORK and will likely result in crashes. All other functionality is retained.

Shoutout to Ameer Hamza and John D'Errico for their witty answers on MATLAB Answers!

Do comment to share suggestions/bugs etc.

Cite As

Mohit Kumar (2021). Phase Portrait Plotter (https://www.mathworks.com/matlabcentral/fileexchange/81026-phase-portrait-plotter), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Mohit Kumar

Hi Sanghdeep and Andrew,
Thank you very much for bringing the issues to my notice. The issue HAS BEEN FIXED and I have uploaded the new version here. Please go ahead and use the new version. Hope you find the app useful. Let me know if the issue persists.
(By the way, the bug causing the crash seems to be very weird. All I had to do to fix the issue was to rename the file.)

SANGHDEEP UKEY

I'm getting the same error "Maximum Recursion Limit Reached 500" please help fixing this error.
how could you upload an app having errors that stops on starting itself?

Mohit Kumar

Hi Andrew,
Is that the complete error message that you got?
Ensure that you don't have a function of toChar in your MATLAB path.
As such, those lines are not directly part of the code that I wrote (seems to be some default MATLAB code). I'm not very sure why this is happening. I'm not well-versed with how to deal with this error. If there's more information you can give, I'll try to do what I can. Apart from that, maybe MATLAB answers will be able to help out.

Andrew Dias

I am getting an error when I try to launch the app:
Maximum recursion limit of 500 reached.

Error in opaque/char (line 88)
chr = toChar(opaque_array(1));

Caused by:
Maximum recursion limit of 500 reached.

What does this mean and how do I get around this?

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!