how can i draw an irregular shape say for suppose amoeba?

조회 수: 8 (최근 30일)
CH R S GIRISH
CH R S GIRISH 2021년 1월 22일
답변: Saurav Chaudhary 2021년 1월 25일
t=0:0.001:2*pi;
x=(exp(cos(t)));
y=(exp(sin(t)));
x1=cos(2*t).^2;
y1=sin(2*t).^2;
x2=x.*x1;
y2=y.*y1;
z=x2+y2;
plot(z,'r');

답변 (1개)

Saurav Chaudhary
Saurav Chaudhary 2021년 1월 25일
You can refer the MATLAB answer given below to get more idea. The main idea here is to create a randomly-shaped polygon and then changing it to produce the sort of shape you want.

카테고리

Help CenterFile Exchange에서 Operators and Elementary Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by