I want to see graph about wave propagation at -6<x<6,-6<z<6 and t=0,4,8,12,16 information of the wave propagation(y propagation plane wave) : E(x,z,t)= cos(2*pi*10^8+1.05x+1.8z) how can i get the code of graph i want to see? That's all. thank you.

댓글 수: 3

KSSV
KSSV 2016년 11월 2일
There is no 't' involved in E...
rance low
rance low 2016년 11월 2일
편집: rance low 2016년 11월 2일
wer
Rena Berman
Rena Berman 2017년 1월 20일
(Answers Dev) Restored Question.

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2016년 11월 2일

0 개 추천

N = 100 ;
x = linspace(-6,6,N) ;
z = linspace(-6,6,N) ;
[X,Z] = meshgrid(x,z) ;
t = [0 4 8 12] ;
E = zeros(N,N,length(t)) ;
for i = 1:length(t)
E(:,:,i)= cos(2*pi*10^8*t(i)+1.05*X+1.8*Z) ;
surf(X,Z,E(:,:,i)) ;
view(2)
drawnow
end

댓글 수: 2

rance low
rance low 2016년 11월 2일
oh thank you! i have a question. does the code'view(2)' mean 't=2?'
KSSV
KSSV 2016년 11월 2일
You remove view(2) and see how the out put would be.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

pukhraj khemada
pukhraj khemada 2019년 4월 9일

0 개 추천

Vortex array by three plan wave interfrnce

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2016년 11월 2일

답변:

2019년 4월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by