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