Plotting a circular region from a function
11 views (last 30 days)
Show older comments
I am working on a analysis of different numerical methods and I am trying to plot the stability region of a numerical method.
For instance if we look at the absolute stability requirements for the explicit euler method we get the condition
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/642390/image.png)
which yields the region of absolute stability in the complex plain shown in the image below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/642395/image.png)
where ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/642400/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/642400/image.png)
Now for this exact method the stability is a perfect circle and I could find a way to simply plot a circle with a radius of 1 and a center in (0,-1), but for most cases it isnt a perfect circle but rather a skewed one.
I tried making the circle through a function handle with the variable z where I plotted it from -2<=z<=0 but it didnt turn out as I hoped.
Is there anyone that can help me in forming an function, or something else, from the inequality
and similiar inequalities?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/642405/image.png)
Thanks
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!