Plotting a circular region from a function
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!