Filter löschen
Filter löschen

plotting the magnitude of a complex fraction

1 Ansicht (letzte 30 Tage)
Maxime Michel
Maxime Michel am 14 Mär. 2019
Bearbeitet: madhan ravi am 14 Mär. 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 ?

Akzeptierte Antwort

madhan ravi
madhan ravi am 14 Mär. 2019
  2 Kommentare
Maxime Michel
Maxime Michel am 14 Mär. 2019
Could you explain why this works and not the normal divisor symbol ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by