Plot (@ 1 MHz) using MATLAB: (a) Electric field (b) Magnetic field (c) Total power flow

37 views (last 30 days)
Consider a plane wave propagating in the +Z direction within a conducting medium. Plot (@ 1 MHz) using MATLAB:
(a) Electric field
(b) Magnetic field
(c) Total power flow
  1 Comment
Rik
Rik on 15 Sep 2022
@KANISHK regarding you flag ("I AM DONE WITH AN ANSWER PLEASE REMOVE THE QUESTION"); that is not how this forum works. You posted a public question and have received a public answer. Why would you receive free help from a stranger, but deny others the benefit of the answer?
You have not commented and/or accepted and/or given the answer an upvote. If it was helpful enough to solve your question, why haven't you done any of these?
Backup of this question:
Plot (@ 1 MHz) using MATLAB: (a) Electric field (b) Magnetic field (c) Total power flow
Consider a plane wave propagating in the +Z direction within a conducting medium. Plot (@ 1 MHz) using MATLAB:
(a) Electric field
(b) Magnetic field
(c) Total power flow

Sign in to comment.

Answers (1)

Sam Chak
Sam Chak on 11 Sep 2022
You want to plot something like this?
n = 6;
x = linspace(0, n*pi, n*1801);
z = sin(x);
y = zeros(1, length(x));
plot3(x, y, z), hold on
y = sin(x);
z = zeros(1, length(x));
plot3(x, y, z), grid on,
ylim([-2 2]), zlim([-2 2]),
xlabel('Z'), ylabel('Y'), zlabel('X'), legend('\bf{E}', '\bf{H}')
  2 Comments
Rik
Rik on 15 Sep 2022
This looks like a homework question. You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.
You can already see how to plot E and H. What have you tried to solve your question?

Sign in to comment.

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!