EggEquation

Universal formula for egg shape. Narushin et Al.
15 téléchargements
Mise à jour 14 avr. 2022

Afficher la licence

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;

Citation pour cette source

Dirk-Jan Kroon (2024). EggEquation (https://www.mathworks.com/matlabcentral/fileexchange/110060-eggequation), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2021a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0