Parametrizing_R_Ell​ipse

バージョン 1.0.0 (1.3 KB) 作成者: Majid
Parametrizing a rotated ellipse
ダウンロード: 5
更新 2021/3/8

ライセンスの表示

I wanted to plot a rotated ellipse given by ax^2+bxy+cy^2=1 centered at (x0, y0). I searched on the net and did not find any code to do it. So, I generated it. Now, I am sharing it here.

Here are input:
If you want to plot ax^2+bxy+cy^2=1 centered at (x0, y0), it is clear for you what the input are. Also, n is the number of points in the interval [0, 2pi] considered for the parametrization.

The function gives you two vectors x and y, and you simply can plot the ellipse by using the command plot(x, y).

引用

Majid (2024). Parametrizing_R_Ellipse (https://www.mathworks.com/matlabcentral/fileexchange/88456-parametrizing_r_ellipse), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0