Question about plotting complex numbers with a given condition
이전 댓글 표시
Hi,
I've got no clue how I would plot the complex numbers z in matlab, given the following conditions:
- abs(z*e^(1-z)) = 1
- abs(z)<=1
Please give me hint or something to help me, I'm really stuck!
Grts, Wouter
답변 (1개)
Walter Roberson
2012년 4월 29일
For example,
Tolerance = 0.01;
TargetVal = 3;
F = @(z) z.^3 - abs(z);
Condition = @(z) (abs(F(z) - TargetVal) <= Tolerance);
datavals = linspace(-5,5,50);
[X, Y] = ndgrid(datavals);
Z = X + 1i .* Y;
TF = Condition(Z);
surf(datavals, datavals, TF);
카테고리
도움말 센터 및 File Exchange에서 2-D Function Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!