sgn=1
m=2
w0 =0.02

댓글 수: 3

Torsten
Torsten 2022년 9월 11일
편집: Torsten 2022년 9월 11일
What is i ? The imaginary unit ?
What does isgn(m) mean ?
Why is the function U(s,0) if no s appears in its definition ?
yes
i is the imaginery unit
s=(x0,y0)
sgn(m) is a symbolic function where the value is taken to be one.

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

 채택된 답변

Torsten
Torsten 2022년 9월 11일
편집: Torsten 2022년 9월 11일
x0 = -0.1:0.001:0.1;
y0 = -0.1:0.001:0.1;
omega = 30;
w0 = 0.02;
m = 2;
[X0,Y0] = meshgrid(x0,y0);
f = @(x0,y0)sinh(omega*(x0+y0)).*exp(-(x0.^2+y0.^2)/w0^2).*(x0+1i*y0).^m;
figure(1)
surf(X0,Y0,abs(f(X0,Y0)))
figure(2)
surf(X0,Y0,real(f(X0,Y0)))
figure(3)
surf(X0,Y0,imag(f(X0,Y0)))

추가 답변 (0개)

카테고리

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

태그

질문:

2022년 9월 11일

편집:

2022년 9월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by