# 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​}]

조회 수: 3 (최근 30일)
Aisha Mohamed . 2022년 5월 20일
편집: Torsten . 2022년 5월 22일
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 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표시 이전 댓글 수: 2숨기기 이전 댓글 수: 2
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).

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

### 카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

### Community Treasure Hunt

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

Start Hunting!