Azzera filtri
Azzera filtri

plotting the magnitude of a complex fraction

1 visualizzazione (ultimi 30 giorni)
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 ?

Risposta accettata

madhan ravi
madhan ravi il 14 Mar 2019

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by