You are now following this entry
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
- /
-
Wave Function of A Face
on 26 Nov 2023
- 25
- 97
- 0
- 2
- 433
drawframe(1);
x = 1×100
-8.7832 -8.6563 -8.5293 -8.4024 -8.2755 -8.1485 -8.0216 -7.8947 -7.7677 -7.6408 -7.5139 -7.3869 -7.2600 -7.1331 -7.0061 -6.8792 -6.7523 -6.6253 -6.4984 -6.3715 -6.2445 -6.1176 -5.9907 -5.8637 -5.7368 -5.6099 -5.4829 -5.3560 -5.2291 -5.1021
●
y = 1×100
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
●
x1 = 1×100
-3.7832 -3.6563 -3.5293 -3.4024 -3.2755 -3.1485 -3.0216 -2.8947 -2.7677 -2.6408 -2.5139 -2.3869 -2.2600 -2.1331 -2.0061 -1.8792 -1.7523 -1.6253 -1.4984 -1.3715 -1.2445 -1.1176 -0.9907 -0.8637 -0.7368 -0.6099 -0.4829 -0.3560 -0.2291 -0.1021
●
y1 = 1×100
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
●
x2 = 1×100
-12.5664 -12.3125 -12.0586 -11.8048 -11.5509 -11.2970 -11.0432 -10.7893 -10.5354 -10.2816 -10.0277 -9.7738 -9.5200 -9.2661 -9.0122 -8.7584 -8.5045 -8.2506 -7.9968 -7.7429 -7.4890 -7.2352 -6.9813 -6.7275 -6.4736 -6.2197 -5.9659 -5.7120 -5.4581 -5.2043
●
y2 =
Columns 1 through 10
0.0000 + 0.0000i 0.0000 + 1.1288i 0.0000 + 2.0515i 0.0000 + 2.6457i 0.0000 + 2.8409i 0.0000 + 2.6268i 0.0000 + 2.0520i 0.0000 + 1.2146i 0.0000 + 0.2458i 0.0000 - 0.7103i
Columns 11 through 20
0.0000 - 1.5185i 0.0000 - 2.0713i 0.0000 - 2.3032i 0.0000 - 2.1982i 0.0000 - 1.7895i 0.0000 - 1.1525i 0.0000 - 0.3911i 0.0000 + 0.3787i 0.0000 + 1.0465i 0.0000 + 1.5233i
Columns 21 through 30
0.0000 + 1.7534i 0.0000 + 1.7206i 0.0000 + 1.4481i 0.0000 + 0.9927i 0.0000 + 0.4336i 0.0000 - 0.1400i 0.0000 - 0.6439i 0.0000 - 1.0109i 0.0000 - 1.1998i 0.0000 - 1.1998i
Columns 31 through 40
0.0000 - 1.0298i 0.0000 - 0.7331i 0.0000 - 0.3686i 0.0000 - 0.0000i 0.0000 + 0.3149i 0.0000 + 0.5331i 0.0000 + 0.6329i 0.0000 + 0.6152i 0.0000 + 0.5025i 0.0000 + 0.3329i
Columns 41 through 50
0.0000 + 0.1544i 0.0000 + 0.0193i -0.0431 + 0.0000i -0.1746 + 0.0000i -0.3100 + 0.0000i -0.4062 + 0.0000i -0.4353 + 0.0000i -0.3862 + 0.0000i -0.2654 + 0.0000i -0.0944 + 0.0000i
Columns 51 through 60
0.0944 + 0.0000i 0.2654 + 0.0000i 0.3862 + 0.0000i 0.4353 + 0.0000i 0.4062 + 0.0000i 0.3100 + 0.0000i 0.1746 + 0.0000i 0.0431 + 0.0000i 0.0000 - 0.0193i 0.0000 - 0.1544i
Columns 61 through 70
0.0000 - 0.3329i 0.0000 - 0.5025i 0.0000 - 0.6152i 0.0000 - 0.6329i 0.0000 - 0.5331i 0.0000 - 0.3149i 0.0000 + 0.0000i 0.0000 + 0.3686i 0.0000 + 0.7331i 0.0000 + 1.0298i
Columns 71 through 80
0.0000 + 1.1998i 0.0000 + 1.1998i 0.0000 + 1.0109i 0.0000 + 0.6439i 0.0000 + 0.1400i 0.0000 - 0.4336i 0.0000 - 0.9927i 0.0000 - 1.4481i 0.0000 - 1.7206i 0.0000 - 1.7534i
Columns 81 through 90
0.0000 - 1.5233i 0.0000 - 1.0465i 0.0000 - 0.3787i 0.0000 + 0.3911i 0.0000 + 1.1525i 0.0000 + 1.7895i 0.0000 + 2.1982i 0.0000 + 2.3032i 0.0000 + 2.0713i 0.0000 + 1.5185i
Columns 91 through 100
0.0000 + 0.7103i 0.0000 - 0.2458i 0.0000 - 1.2146i 0.0000 - 2.0520i 0.0000 - 2.6268i 0.0000 - 2.8409i 0.0000 - 2.6457i 0.0000 - 2.0515i 0.0000 - 1.1288i 0.0000 - 0.0000i
x3 = 1×100
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
●
y3 = 1×100
4.8500 4.8197 4.7894 4.7591 4.7288 4.6985 4.6682 4.6379 4.6076 4.5773 4.5470 4.5167 4.4864 4.4561 4.4258 4.3955 4.3652 4.3348 4.3045 4.2742 4.2439 4.2136 4.1833 4.1530 4.1227 4.0924 4.0621 4.0318 4.0015 3.9712
x4 = 1×100
0.0000 0.6583 1.3060 1.9326 2.5282 3.0831 3.5884 4.0360 4.4186 4.7301 4.9655 5.1210 5.1941 5.1836 5.0898 4.9140 4.6592 4.3294 3.9299 3.4672 2.9487 2.3828 1.7785 1.1456 0.4943 -0.1650 -0.8216 -1.4650 -2.0848 -2.6711
y4 = 1×100
8.2000 8.1582 8.0333 7.8275 7.5440 7.1874 6.7634 6.2789 5.7416 5.1602 4.5440 3.9030 3.2474 2.5879 1.9350 1.2992 0.6909 0.1196 -0.4053 -0.8754 -1.2831 -1.6219 -1.8864 -2.0722 -2.1765 -2.1974 -2.1347 -1.9894 -1.7638 -1.4615
x5 = 1×100
0.0000 0.7216 1.4315 2.1185 2.7713 3.3796 3.9335 4.4240 4.8434 5.1849 5.4429 5.6134 5.6935 5.6821 5.5792 5.3865 5.1072 4.7456 4.3078 3.8006 3.2322 2.6119 1.9495 1.2558 0.5418 -0.1808 -0.9006 -1.6059 -2.2853 -2.9280
y5 = 1×100
8.7000 8.6541 8.5173 8.2917 7.9809 7.5900 7.1253 6.5942 6.0052 5.3679 4.6924 3.9898 3.2712 2.5483 1.8326 1.1357 0.4688 -0.1573 -0.7327 -1.2480 -1.6950 -2.0664 -2.3562 -2.5599 -2.6742 -2.6971 -2.6284 -2.4691 -2.2218 -1.8905
●
x6 = 1×100
-18.8496 -18.4688 -18.0880 -17.7072 -17.3264 -16.9456 -16.5648 -16.1840 -15.8032 -15.4224 -15.0416 -14.6608 -14.2800 -13.8992 -13.5184 -13.1376 -12.7568 -12.3760 -11.9952 -11.6144 -11.2336 -10.8528 -10.4720 -10.0912 -9.7104 -9.3296 -8.9488 -8.5680 -8.1872 -7.8064
●
y6 =
Columns 1 through 10
0.0000 + 0.0000i 0.0000 + 1.1288i 0.0000 + 2.0515i 0.0000 + 2.6457i 0.0000 + 2.8409i 0.0000 + 2.6268i 0.0000 + 2.0520i 0.0000 + 1.2146i 0.0000 + 0.2458i 0.0000 - 0.7103i
Columns 11 through 20
0.0000 - 1.5185i 0.0000 - 2.0713i 0.0000 - 2.3032i 0.0000 - 2.1982i 0.0000 - 1.7895i 0.0000 - 1.1525i 0.0000 - 0.3911i 0.0000 + 0.3787i 0.0000 + 1.0465i 0.0000 + 1.5233i
Columns 21 through 30
0.0000 + 1.7534i 0.0000 + 1.7206i 0.0000 + 1.4481i 0.0000 + 0.9927i 0.0000 + 0.4336i 0.0000 - 0.1400i 0.0000 - 0.6439i 0.0000 - 1.0109i 0.0000 - 1.1998i 0.0000 - 1.1998i
Columns 31 through 40
0.0000 - 1.0298i 0.0000 - 0.7331i 0.0000 - 0.3686i 0.0000 - 0.0000i 0.0000 + 0.3149i 0.0000 + 0.5331i 0.0000 + 0.6329i 0.0000 + 0.6152i 0.0000 + 0.5025i 0.0000 + 0.3329i
Columns 41 through 50
0.0000 + 0.1544i 0.0000 + 0.0193i -0.0431 + 0.0000i -0.1746 + 0.0000i -0.3100 + 0.0000i -0.4062 + 0.0000i -0.4353 + 0.0000i -0.3862 + 0.0000i -0.2654 + 0.0000i -0.0944 + 0.0000i
Columns 51 through 60
0.0944 + 0.0000i 0.2654 + 0.0000i 0.3862 + 0.0000i 0.4353 + 0.0000i 0.4062 + 0.0000i 0.3100 + 0.0000i 0.1746 + 0.0000i 0.0431 + 0.0000i 0.0000 - 0.0193i 0.0000 - 0.1544i
Columns 61 through 70
0.0000 - 0.3329i 0.0000 - 0.5025i 0.0000 - 0.6152i 0.0000 - 0.6329i 0.0000 - 0.5331i 0.0000 - 0.3149i 0.0000 + 0.0000i 0.0000 + 0.3686i 0.0000 + 0.7331i 0.0000 + 1.0298i
Columns 71 through 80
0.0000 + 1.1998i 0.0000 + 1.1998i 0.0000 + 1.0109i 0.0000 + 0.6439i 0.0000 + 0.1400i 0.0000 - 0.4336i 0.0000 - 0.9927i 0.0000 - 1.4481i 0.0000 - 1.7206i 0.0000 - 1.7534i
Columns 81 through 90
0.0000 - 1.5233i 0.0000 - 1.0465i 0.0000 - 0.3787i 0.0000 + 0.3911i 0.0000 + 1.1525i 0.0000 + 1.7895i 0.0000 + 2.1982i 0.0000 + 2.3032i 0.0000 + 2.0713i 0.0000 + 1.5185i
Columns 91 through 100
0.0000 + 0.7103i 0.0000 - 0.2458i 0.0000 - 1.2146i 0.0000 - 2.0520i 0.0000 - 2.6268i 0.0000 - 2.8409i 0.0000 - 2.6457i 0.0000 - 2.0515i 0.0000 - 1.1288i 0.0000 - 0.0000i
Warning: Imaginary parts of complex X and/or Y arguments ignored.
MeshDensity = 1500

Write your drawframe function below
% Wave Function of A Face using Parametric Equation on...
% Cartesian Plane... enjoyyy Coding...
function drawframe(f)
t = linspace(-2*pi,2*pi);
t1 = linspace(0,1);
h = linspace(0,220,150);
b = linspace(100,420,600);
x=t-2.5
y=sqrt(1.5-t.^2).*sin(h(f)*t)+5
x1=t+2.5
y1=sqrt(1.5-t.^2).*sin(h(f)*t)+5
x2=2*t
y2=sqrt(0.25-0.25*t.^2).*sin(3*b(f)*t)
x3=t1.*sin(h(f)*t1)
y3=-3*t1+4.85
x4=5.2*sin(t)
y4=5.2*cos(t)+3
x5=5.7*sin(t)
y5=5.7*cos(t)+3
x6=3*t
y6=sqrt(0.25-0.25*t.^2).*sin(3*b(f)*t)
plot(x,y,x1,y1,x2,y2,x3,y3,x4,y4,x5,y5,x6,y6)
MeshDensity=1500
axis equal
axis([-7 7 -4 10])
end
Open in MATLAB Online
Open in MATLAB Online
In order to generate an animation from the contest entry in MATLAB Online, please follow these steps:
- Be sure the first line of code in drawframe.mlx defines the drawframe function
- Run the command contestAnimator()
Animation
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
