How to create animation of wave pattern h(x,y,t) = Acos(2*pi*t/T-2*pi*x/L) with T=4s , L=12m, -300<=x<=300, -300<=y<=300 , 0<=t<=20
Ältere Kommentare anzeigen
clc
clear all
A=1;
T=4;
L=12;
syms t
t=0:1:20;
x=-300:10:300;
H=A*cos(2*pi*t/(T)-2*pi*x/(L))
for k=1:length(t)
plot(t(k),H(k),'+')
axis([-0.5 20.5 -2 2])
pause(0.25)
end
3 Kommentare
darova
am 20 Apr. 2020
I don't see y in your equation
Aagam Jain
am 20 Apr. 2020
BALAJI KARTHEEK
am 20 Apr. 2020
where is y in h(x,y,t)= A cos (2pi*t/T - 2pi*x/L
Akzeptierte Antwort
Weitere Antworten (1)
darova
am 20 Apr. 2020
0 Stimmen
Here is the solution

Kategorien
Mehr zu Polar Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!