EggEquation

バージョン 1.0.0 (1.65 KB) 作成者: Dirk-Jan Kroon
Universal formula for egg shape. Narushin et Al.
ダウンロード: 12
更新 2022/4/14

ライセンスの表示

Egg and math: introducing a universal formula for egg shape. Narushin et Al.
y = EggEquation(x,L,w,B,DL4)
inputs:
L is length
W is the negative x-position where the egg is widest
B egg breadth, the width of the egg, at the x-position defined by W
DL4 Width of the egg at x-position Length/4
Example
L = 55
w = 10;
B = 35;
DL4 =25;
x = linspace(-L./2,L./2,L.*4);
y = EggEquation(x,L,w,B,DL4)
figure, hold on;
plot(x,y,'r');
plot(x,-y,'r');
plot([-w,-w],[-B/2,B/2],'g');
plot([L/4,L/4],[-DL4/2,DL4/2],'g')
grid on; axis equal;

引用

Dirk-Jan Kroon (2024). EggEquation (https://www.mathworks.com/matlabcentral/fileexchange/110060-eggequation), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2021a
すべてのリリースと互換性あり
プラットフォームの互換性
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