How to calculate and plot this function f(z) =\frac{1}{​2}[\frac{(​z^3)-(0.5+​0.8660i)}{​z^4-(0.5-0​.8660i)z^3​}]

1 回表示 (過去 30 日間)
How can I simplify and plot this function:
$ f(z) =\frac{1}{2}[\frac{(z^3)-(0.5+0.8660i)}{z^4-(0.5-0.8660i)z^3}] $
I am trying to calculate and plot this function but because it is fraction function I thought to multib it in the conjogate of the denomater but I always find the variable z in the numerator and denomurator this did not enable me to simplyfy this function also I can not plot it.
can anybody help me to do that?
Thanks

採用された回答

Torsten
Torsten 2022 年 5 月 20 日
f = @(x,y) 0.5./(x+1i*y).^3.*((x+1i*y).^3-exp(1i*pi/3))./((x+1i*y)-exp(-1i*pi/3));
r = 0.2:0.01:0.9;
phi = 0:0.01:2*pi;
[R,PHI] = meshgrid(r,phi);
X = R.*cos(PHI);
Y = R.*sin(PHI);
surf(X,Y,abs(f(X,Y)))
  3 件のコメント
Walter Roberson
Walter Roberson 2022 年 5 月 22 日
f = @(x,y) 0.5./(x+1i*y).^3.*((x+1i*y).^3-exp(1i*pi/3))./((x+1i*y)-exp(-1i*pi/3));
r = 0.2:0.01:0.9;
phi = 0:0.01:2*pi;
[R,PHI] = meshgrid(r,phi);
X = R.*cos(PHI);
Y = R.*sin(PHI);
F = f(X,Y);
surf(X,Y,abs(F), 'edgecolor', 'none')
figure
surf(X, Y, angle(F), 'edgecolor', 'none')
figure
surf(X, Y, angle(F), 'edgecolor', 'none'); view(2)
Torsten
Torsten 2022 年 5 月 22 日
編集済み: Torsten 2022 年 5 月 22 日
Thank you, Walter.
r is the radius of the complex number for which you want to evaluate the function.
It can take any non-negative number (except those at which the function has poles).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by