Borrar filtros
Borrar filtros

plotting the magnitude of a complex fraction

1 visualización (últimos 30 días)
Maxime Michel
Maxime Michel el 14 de Mzo. de 2019
Editada: madhan ravi el 14 de Mzo. de 2019
I have a function
H = 1/(1 - 0.5i * exp(-i*2*pi*f)); % In Matlab, f would be defined as: f = 0:0.1:2*pi;
I need to be able to plot the magnitude of H(f) but Matlab won't allow me to define H saying:
%Error using /, Matrix dimensions must agree
What am I doing wrong ?

Respuesta aceptada

madhan ravi
madhan ravi el 14 de Mzo. de 2019
  2 comentarios
Maxime Michel
Maxime Michel el 14 de Mzo. de 2019
Could you explain why this works and not the normal divisor symbol ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by