Effacer les filtres
Effacer les filtres

plotting the magnitude of a complex fraction

1 vue (au cours des 30 derniers jours)
Maxime Michel
Maxime Michel le 14 Mar 2019
Modifié(e) : madhan ravi le 14 Mar 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 ?

Réponse acceptée

madhan ravi
madhan ravi le 14 Mar 2019
  2 commentaires
Maxime Michel
Maxime Michel le 14 Mar 2019
Could you explain why this works and not the normal divisor symbol ?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by