writing a traveling electromagnetic wave
Mostrar comentarios más antiguos
How can I write the highlited below in matlab with ploting :

Exercise 1-3: The electric field of a traveling
electromagnetic wave is given by
E(z, t) = 10 cos(π × 10^7t + πz/15 + π/6) (V/m).
Determine (a) the direction of wave propagation, (b) the
wave frequency f , (c) its wavelength λ, and (d) its phase
velocity up.
Answer: (a)−z direction, (b) f = 5 MHz, (c) λ = 30 m,
(d) up = 1.5 × 108 m/s.
2 comentarios
darova
el 15 de Feb. de 2021
Please provide your attempts
Moaiyd Hobani
el 15 de Feb. de 2021
Respuestas (1)
darova
el 16 de Feb. de 2021
I think your plot should be a surface since you have two dependent variables z and t
Here is an example
t = linspace(0,200,30);
x = linspace(0,200,30);
[T,X] = meshgrid(t,x); % create matrices
E = % your formula
surf(T,X,E)
Remember about dot before operator signs while using matrices
4 comentarios
Moaiyd Hobani
el 18 de Feb. de 2021
Editada: darova
el 18 de Feb. de 2021
darova
el 18 de Feb. de 2021
Here are suggestions

Moaiyd Hobani
el 18 de Feb. de 2021
darova
el 18 de Feb. de 2021
Increase number of points
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

