Clear Filters
Clear Filters

plotting the magnitude of a complex fraction

1 view (last 30 days)
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 ?

Accepted Answer

madhan ravi
madhan ravi on 14 Mar 2019

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!