how to write fraction function in complex plane by using matlab
Mostrar comentarios más antiguos
Hi
I worked in ploting function defined in complex plane by using matlab I know we can write the polynomial in matlab by using its coefficients
for example f(z)= (2-8i)Z^3+(2+3i)Z^2 + (1+5i)Z+ (3-4i) this equation can be written in matlab as p=[(2-8i) (2+3i) (1+5i) (3-4i) ],. But when we find this equation f(z)= (2-8i)/Z^3+(2+3i)/Z^2 + (1+5i)/Z+ (3-4i) how can I write this equation in matlab? I mean here the complex variables in the Denominator
Thanks
1 comentario
Benjamin Thompson
el 8 de Feb. de 2022
MATLAB supports complex numbers. See documentation on the topic "complex". Are you trying to write the equation symbolically using the Symbolic Toolbox, or numerically to calculate answers at specific values of Z or to plot over a range of the complex plane?
Respuesta aceptada
Más respuestas (1)
Sphiwe
el 15 de Oct. de 2023
0 votos
num = [1]
den= conv([1 3 5], [1 3], [1 5])
g = tf (num,den)
[z,p,k] = tf2zp(num,den)
pzmap(g)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!